empty-dir-cli
v1.0.2
Published
npm module to have command to ensure there is a dir and is empty
Downloads
39
Maintainers
Readme
Empty-dir
With empty dir command you ensure 2 things:
- there is a directory present specified by the path
- the directory specified by the path is empty
If the directory is not present, it will be created (recursively). If the directory is present but not empty, it will be emptied. Uses fs-extra
TODO
- write tests