{"_id":"require-json-tree","_rev":"8-f425ccefb2060e11def82a8e8030bb46","name":"require-json-tree","description":"Load a directory containing json files into a hash keyed by filenames","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"require-json-tree","version":"1.0.0","description":"Load a directory containing json files into a hash keyed by filenames","main":"index.js","scripts":{"test":"mocha --reporter list test/*.js"},"author":{"name":"Wei Lu"},"license":"ISC","devDependencies":{"mocha":"^1.17.1"},"_id":"require-json-tree@1.0.0","dist":{"shasum":"57bc7b37f06adfc15e2a7d975bd9a75d460f805f","tarball":"https://registry.npmjs.org/require-json-tree/-/require-json-tree-1.0.0.tgz","integrity":"sha512-DNSnCa6tFUaqZHASWFZrx/+P+EFC4h0/n0gP/Fn6srcBPJYtfbcotVB1U4LWR4L/N55pMcn5VnQ/GpGSAgVpKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID2gvUL3gjH3+ie9HqvR911aBYxPJmMjHiUQOYdzwJPNAiBmDAIKKkwhveIFsi4Cu+7wACxX3U58LwhJ4jt5yyUD3A=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"weilu","email":"luwei.here@gmail.com"},"maintainers":[{"name":"weilu","email":"luwei.here@gmail.com"}]},"1.1.0":{"name":"require-json-tree","version":"1.1.0","description":"Load a directory containing json files into a hash keyed by filenames","main":"index.js","scripts":{"test":"mocha --reporter list test/*.js"},"author":{"name":"Wei Lu"},"license":"ISC","devDependencies":{"mocha":"^1.17.1"},"_id":"require-json-tree@1.1.0","dist":{"shasum":"222dc15acbb4426732361714bf9769dce1f74887","tarball":"https://registry.npmjs.org/require-json-tree/-/require-json-tree-1.1.0.tgz","integrity":"sha512-V7P/nd/guKZFdKbk5qVAMMnmNsBw0eJeSFgGlJj/fUqq1zENuIOy3KDBPIGniq0yuRobzKm1Ba4VYMkkSDsR+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBdw5Z8CFC0Tq/TwfguSYzZZecrdeJhwrpWUVVZmxw61AiEAqI55ISLQL7xNsELc2DehmaSQPXqGgQCUp6UoTG412oU="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"weilu","email":"luwei.here@gmail.com"},"maintainers":[{"name":"weilu","email":"luwei.here@gmail.com"}]}},"readme":"require-json-tree\n=================\n\nLoad a directory containing json files into a hash keyed by filenames\n\n`npm install require-json-tree`\n\n## Usage\n\n    index.js\n    tree\n    ├── file1.json\n    └── file2.json\n\n```javascript\n// index.js\nvar path = require('path')\nvar requireJsonTree = require('require-json-tree')\nvar tree = requireJsonTree(path.join(__dirname, 'tree')) // absolute path only\n\nconsole.log(tree)\n// { file1: [ 'foo', 'bar' ], file2: { foo: 'bar' } }\n```\n","maintainers":[{"name":"weilu","email":"luwei.here@gmail.com"}],"time":{"modified":"2022-06-26T11:38:21.322Z","created":"2014-03-11T04:30:17.532Z","1.0.0":"2014-03-11T04:30:17.532Z","1.1.0":"2014-03-14T09:01:50.918Z"},"author":{"name":"Wei Lu"},"license":"ISC","readmeFilename":"README.md"}