Nevertheless! Party Metaphorically

    data-dir

    1.2.5 • Public • Published

    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

    Keywords

    Install

    npm i data-dir

    DownloadsWeekly Downloads

    38

    Version

    1.2.5

    License

    MIT

    Unpacked Size

    8.9 kB

    Total Files

    12

    Last publish

    Collaborators

    • mohitsingh