1.0.2 • Published 7 years ago

ensure-directory v1.0.2

Weekly downloads
27
License
ISC
Repository
github
Last release
7 years ago

ensure-directory

A promise based node.js module that checks to see if a directory exists and if it doesn't, it creates it for you.

Install

npm install ensure-directory

Usage

\\ Typescript
import ensureDirectory from 'ensure-directory';

\\ ES6
const ED = require('ensure-directory');
ED.ensureDirectory('/tmp/test').then(...);