Node.js: createOutputStream
Exactly like fs.createWriteStream
, but if the directory does not exist, it's created. Extracted from fs-extra
Install
npm i --save create-output-stream
Example
var fs = // if /tmp/some does not exist, it is createdvar ws = fsws
License
MIT