ensure-dir

0.1.0 • Public • Published

ensure-dir

NPM License Downloads

Installation

$ npm install ensure-dir

Usage

const ensureDir = require('ensure-dir')
 
ensureDir('a/b/c').then(() => {
  // doStuff
})
 
ensureDir(['a/b/c', 'a/b/d', 'e/f/g']).then(() => {
  // doStuff
})

Readme

Keywords

Package Sidebar

Install

npm i ensure-dir

Weekly Downloads

33

Version

0.1.0

License

MIT

Last publish

Collaborators

  • gera2ld