Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
/ data-dir Public archive

๐Ÿ—„ Read data from json and yaml files recursively

License

Notifications You must be signed in to change notification settings

mohitsinghs/data-dir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

61 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

data-dir

GitHub Workflow Status npm version Codecov node-current license MIT

Read data from json and yaml files recursively


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

About

๐Ÿ—„ Read data from json and yaml files recursively

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published