VAMTIGER Create File
Create a file for a defined path.
Installation
VAMTIGER Create File can be installed using npm or yarn:
npm install --save vamtiger-create-file
or
yarn add vamtiger-create-file
Usage
Import or require a referece to VAMTIGER Create File:
;
or
const createFile = default;
VAMTIGER Create File can create an empty file:
;
File data can also be written the the new file:
;
VAMTIGER Create File returns a Promise, it can be more conveniently executed within an async function:
async someAsyncFunction { const fileData = 'Some file data'; await ;}