fx45-node
Generate JSON files for fx54-node.
The packages names may be slightly confusing:
fx54-node
Verify the existence or content of files in a hierarchical object.fx45-node
Generate JSON files for fx54-node.
Installation
yarn add fx45-node
Run tests
yarn test
Example
Assume a directory with following structure:
- root
- dir1
a.txt
- dir2
b.txt
Code:
;// or Node.js style: const objectFromDirectory = require('fx45-node').default; console;
Output:
API
; : object|null
ignoredFiles
files to be ignored, e.g.['.DS_Store', 'thumbs.db']
.