fop

0.0.2 • Public • Published

fop (folder-of-path) Build Status

Simply giving you the folder of a file path

Usage

CLI

$ npm install -g fop
$ fop --path /Users/vruno/myfile.txt
$ /Users/vruno/

API

npm install --save fop
var fop = require('fop');
var folder = fop("/Users/vruno/myfile.txt");
console.log(folder);
// /Users/vruno/

/fop/

    Package Sidebar

    Install

    npm i fop

    Weekly Downloads

    9

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • urucas
    • vrunoa