mkdirp2

1.0.5 • Public • Published

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

DEPRECATED: Use Node.js fs.mkdir

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}`))

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.5
    198,704
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.5
    198,704
  • 1.0.4
    12,990
  • 1.0.3
    302
  • 1.0.2
    1
  • 1.0.1
    1
  • 1.0.0
    2

Package Sidebar

Install

npm i mkdirp2

Weekly Downloads

212,000

Version

1.0.5

License

MIT

Unpacked Size

18.5 kB

Total Files

22

Last publish

Collaborators

  • 75lb