npm
Version:
a package manager for JavaScript
16 lines (10 loc) • 448 B
Markdown
new module.
- Return a promise instead of taking a callback.
- Use native `fs.mkdir(path, { recursive: true })` when available.
- Drop support for outdated Node.js versions. (Technically still works on
Node.js v8, but only 10 and above are officially supported.)
Original and most widely used recursive directory creation implementation
in JavaScript, dating back to 2010.
Full rewrite. Essentially a brand