ensure-file
Ensures that the file path exists. Like fs-extra#ensureFile but out of the box.
Install
$ npm install ensure-file --save
Usage
'use strict' var ensureFile = var file = '/tmp/this/path/does/not/exist/file.txt'
API
ensureFile(file, cb)
ensureFile.sync(file)
file
Required
Type: string
License
MIT © Kiko Beats