node-fl

0.1.0 • Public • Published

node-fl

node-fl is a collection of usefull file methods.

mkdir(dir, [callback])

Creates a folder and all parent folders if it doesn't exist. This method is similar to mkdir -p. Folders will be created with 755 file permissions.

Example:

    //Creates a folder syncronous
    fl.mkdir('path/to/folder');

    //Creates a folder asyncron
    fl.mkdir('path/to/folder', function(err) {

    });

Package Sidebar

Install

npm i node-fl

Weekly Downloads

42

Version

0.1.0

License

MIT

Unpacked Size

18.2 kB

Total Files

5

Last publish

Collaborators

  • andi-oxidant
  • andifeind
  • kippis