https://github.com/anzerr/fs.mkdirp
mkdir with 'p'
https://github.com/anzerr/fs.mkdirp
fs mkdir nodejs util
Last synced: about 1 month ago
JSON representation
mkdir with 'p'
- Host: GitHub
- URL: https://github.com/anzerr/fs.mkdirp
- Owner: anzerr
- License: mit
- Created: 2019-01-02T15:51:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T16:20:08.000Z (over 4 years ago)
- Last Synced: 2025-10-07T18:59:05.504Z (9 months ago)
- Topics: fs, mkdir, nodejs, util
- Language: JavaScript
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### `Intro`



mkdir with 'p' on the base mkdir '{recursive: true}' doesn't seem to work so here's this little util
#### `Install`
``` bash
npm install --save git+https://github.com/anzerr/fs.mkdirp.git
npm install --save @anzerr/fs.mkdirp
```
### `Example`
``` javascript
const mkdir = require('fs.mkdirp');
mkdir('foo/bar/cat/dog').catch(console.log);
```