0.0.2 • Published 9 years ago
fop (folder-of-path)
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/