This package has been deprecated

Author message:

unsupported / joke / demo

p-dir

1.0.2 • Public • Published

p-dir

Promise based rmdir and mkdir that act like rm -rf and mkdir -p. This assumes ES6

const dir = require('p-dir');
dir.rmdir('/').then(()=>console.log('you have now deleted your entire system'));
dir.mkdir('/home/pipobscure/a/path/to/a/new/directory').then(()=>console.log('it\'s there now'));

Readme

Keywords

Package Sidebar

Install

npm i p-dir

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • pipobscure