Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 349 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 349 Bytes

mkdirp-sync

mkdir -p sync in node.js

Install

npm install mkdirp-sync --save
yarn add mkdirp-sync

Usage

const mkdir = require('mkdirp-sync');
mkdir('foo/bar/baz');

folders are created as follows, same as running fs.mkdirSync recursively.

|____foo
| |____bar
| | |____baz

License

MIT