Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

empty-dir-cli

timnederhoff22MIT1.0.2

npm module to have command to ensure there is a dir and is empty

dir, directory, empty, create

readme

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

changelog

Changelog

[1.0.2] 2017-11-27

Changed

  • set line separator in tsconfig
  • set line separator for all files to LF

[1.0.1] 2017-11-27

Added

  • this changelog

    Changed

  • line separator to Unix/OSX (\n, LF)

[1.0.0] 2017-11-21

Added

  • initial commit