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

Readme

Keywords

Package Sidebar

Install

npm i mkdirp2

Weekly Downloads

199,796

Version

1.0.5

License

MIT

Unpacked Size

18.5 kB

Total Files

22

Last publish

Collaborators

  • 75lb