0.4.0 • Published 7 years ago

mkdir-recursive v0.4.0

Weekly downloads
7,508
License
GPL-3.0
Repository
github
Last release
7 years ago

mkdir-recursive

NPM version Linux Status Windows Status Dependency Status Coveralls

make/remove (asynchronous/synchronous) directories recursively

Installation

Install through NPM

npm install mkdir-recursive

or

git clone git://github.com/hex7c0/mkdir-recursive.git

API

make 3 directories asynchronous recursively

var fx = require('mkdir-recursive');

fx.mkdir('foo/bar/1', function(err) {

  console.log('done');
});

mkdir(path , mode, callback) Node Doc

  • path - String Dir pathname (default "required")
  • [mode]- Number Scrivi (default "0777")
  • callback - Function Next callback when task is complete (default "required")

mkdirSync(path , mode) Node Doc

  • path - String Dir pathname (default "required")
  • [mode]- Number Scrivi (default "0777")

rmdir(path, callback) Node Doc

  • path - String Dir pathname (default "required")
  • callback - Function Next callback when task is complete (default "required")

rmdirSync(path) Node Doc

  • path - String Dir pathname (default "required")

Examples

Take a look at my examples

License GPLv3

0.4.0

7 years ago

0.3.0

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago

0.0.2

10 years ago

0.0.1

10 years ago