data-dir
v1.2.6
Published
read data from json and yaml files recursively
Downloads
51
Readme
Install
npm install data-dir
// or
yarn add data-dir
Uses
For each file the filename becomes the key and data from file becomes value.
const dataDir = require('data-dir')
let obj = dataDir('dir-with-nested-yaml-json') // returns combined data