VAMTIGER Get Directory Content
Get a list of all entries for a defined directory path.
Installation
VAMTIGER Get Directory Content can be installed using npm or yarn:
npm install --save vamtiger-get-directory-content
or
yarn add vamtiger-get-directory-content
Usage
Import or require a referece to VAMTIGER Get Directory Content:
;
or
const getDirectoryContent = default;
Reference an array of file/directory entries for defined directory path:
;
Since VAMTIGER Get Directory Content returns a Promise, the result can be more conveniently referenced within an async function:
async someAsyncFunction { const directoryContent = await ;}