empty-dir-cli

1.0.2 • Public • Published

Empty-dir

With empty dir command you ensure 2 things:

  1. there is a directory present specified by the path
  2. 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

/empty-dir-cli/

    Package Sidebar

    Install

    npm i empty-dir-cli

    Weekly Downloads

    13

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • timnederhoff