1.1.4 • Published 4 years ago

@appgeist/ensure-dir v1.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

@appgeist/ensure-dir

NPM version License

Utility function to ensure a directory path exists and return a Promise. Uses mkdirp under the hood.

Usage

const ensureDir = require("@appgeist/ensure-dir");

await ensureDir("/folder/to/store/lotsa/files");

Why not mkdirp-promise?

@appgeist/ensure-dir should be slightly more efficient than mkdirp-promise because it checks whether the specified path exists before trying to create it.

License

The ISC License.

1.1.4

4 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago