Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

mkdirp2

1.0.4 • Public • Published

view on npm npm module downloads Build Status Dependency Status js-standard-style

mkdirp2

A maintained fork of the stagnant mkdirp.

Differences

  1. Command-line executable and its dependencies removed, this fork is for Nodejs use only.

  2. Extended with a promise method:

    mkdirp.promise('tmp/tmp2/file')
      .then(() => console.log('Created'))
      .catch(err => console.error(`Failed: ${err.message}`))

Install

npm i mkdirp2

DownloadsWeekly Downloads

57,049

Version

1.0.4

License

MIT

Unpacked Size

18.4 kB

Total Files

22

Last publish

Collaborators

  • avatar