dirdir
Make a directory.
- always recursive
- return full path instead of "first directory path created"
- return
null
instead ofundefined
when directory already exists
Install
$ yarn add dirdir
Usage
console.logprcess.cwd// /foo console.log await makeDir'bar/baz'// '/foo/bar/baz' console.log await makeDir'/foo'// null