qm-fs-touch
Simple module for creation files on disk. Use only in node.js above v.8 due to
util.promisify
usage.
Installation
$ npm i -S qm-fs-touch
Usage
; // defaultconst options = encoding: "utf8" overwrite: false; ;
Content of the file can be a: <Sring> | <Buffer> | <Uint8Array> as stated in Node.js documentation.
Test
Tests are written with ava. Run by:
npm run test
License
MIT © qaraluch