File: /home/imensosw/.npm/registry.npmjs.org/load-json-file/.cache.json
{"_id":"load-json-file","_rev":"18-4911bea0fe8214bdd01c5314e26cb8ab","name":"load-json-file","description":"Read and parse a JSON file","dist-tags":{"latest":"5.1.0"},"versions":{"1.0.0":{"name":"load-json-file","version":"1.0.0","description":"Read and parse a JSON file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/load-json-file.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","read","parse","file","fs","graceful","load"],"dependencies":{"graceful-fs":"^4.1.2","parse-json":"^2.2.0","pify":"^1.1.0","pinkie-promise":"^1.0.0","strip-bom":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"585e33ee885778ef51f1bc23d019a409050e88a3","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@1.0.0","_shasum":"2c73a18a5f862dece86e85225815ac512ff97c63","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"2c73a18a5f862dece86e85225815ac512ff97c63","tarball":"http://registry.npmjs.org/load-json-file/-/load-json-file-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"1.0.1":{"name":"load-json-file","version":"1.0.1","description":"Read and parse a JSON file","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/load-json-file"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","read","parse","file","fs","graceful","load"],"dependencies":{"graceful-fs":"^4.1.2","parse-json":"^2.2.0","pify":"^2.0.0","pinkie-promise":"^1.0.0","strip-bom":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"3735e52cca5cb3fc459786ac35db13b7142ee349","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file","_id":"load-json-file@1.0.1","_shasum":"d24e14be27f68a6aec0f82365b23e1014603fc19","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d24e14be27f68a6aec0f82365b23e1014603fc19","tarball":"http://registry.npmjs.org/load-json-file/-/load-json-file-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"1.1.0":{"name":"load-json-file","version":"1.1.0","description":"Read and parse a JSON file","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/load-json-file"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","read","parse","file","fs","graceful","load"],"dependencies":{"graceful-fs":"^4.1.2","parse-json":"^2.2.0","pify":"^2.0.0","pinkie-promise":"^2.0.0","strip-bom":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"115157a417380d3160da418d4ff25bb33b0051eb","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file","_id":"load-json-file@1.1.0","_shasum":"956905708d58b4bab4c2261b04f59f31c99374c0","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"956905708d58b4bab4c2261b04f59f31c99374c0","tarball":"http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"load-json-file","version":"2.0.0","description":"Read and parse a JSON file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/load-json-file.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["read","json","parse","file","fs","graceful","load"],"dependencies":{"graceful-fs":"^4.1.2","parse-json":"^2.2.0","pify":"^2.0.0","strip-bom":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"49620f12bce627dc2459a08f5ef18cd2ff151eb2","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@2.0.0","_shasum":"7947e42149af80d696cbf797bcaabcfe1fe29ca8","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"7947e42149af80d696cbf797bcaabcfe1fe29ca8","tarball":"http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/load-json-file-2.0.0.tgz_1462036668887_0.931434569414705"},"directories":{}},"3.0.0":{"name":"load-json-file","version":"3.0.0","description":"Read and parse a JSON file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/load-json-file.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["read","json","parse","file","fs","graceful","load"],"dependencies":{"graceful-fs":"^4.1.2","parse-json":"^3.0.0","pify":"^2.0.0","strip-bom":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"6181ef44ccdc4dc94fce1859d446d23d5ff53f75","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@3.0.0","_shasum":"7eb3735d983a7ed2262ade4ff769af5369c5c440","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"7eb3735d983a7ed2262ade4ff769af5369c5c440","tarball":"https://registry.npmjs.org/load-json-file/-/load-json-file-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file-3.0.0.tgz_1503188282582_0.7917490075342357"},"directories":{}},"4.0.0":{"name":"load-json-file","version":"4.0.0","description":"Read and parse a JSON file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/load-json-file.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["read","json","parse","file","fs","graceful","load"],"dependencies":{"graceful-fs":"^4.1.2","parse-json":"^4.0.0","pify":"^3.0.0","strip-bom":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"633ec57b4d10a4bcc0e5fb63296ff9e6e68924da","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@4.0.0","_shasum":"2f5f45ab91e33216234fd53adab668eb4ec0993b","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"2f5f45ab91e33216234fd53adab668eb4ec0993b","tarball":"https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file-4.0.0.tgz_1509782229082_0.7325113639235497"},"directories":{}},"5.0.0":{"name":"load-json-file","version":"5.0.0","description":"Read and parse a JSON file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/load-json-file.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["read","json","parse","file","fs","graceful","load"],"dependencies":{"graceful-fs":"^4.1.2","parse-json":"^4.0.0","pify":"^3.0.0","strip-bom":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"8149bcbde096cb8ac9328091c06f11f83a04e569","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@5.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-wWRJeA/YQ2s53fBSrPrr6gnSKmNcnk4TV4c40ITRGQ4uxpgPddBL9xNh3WxPjJHewwzo2rFkEJWt87OR/35MEw==","shasum":"5b5ef7cb6e1e337408e02fe01fe679ccc0cd18d5","tarball":"https://registry.npmjs.org/load-json-file/-/load-json-file-5.0.0.tgz","fileCount":4,"unpackedSize":3779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa7reLCRA9TVsSAnZWagAAlT8P+waQvMXX4Rn6c4cWeS9B\nwzfp3NmStowq6nj5YaZfDhQxuQJ3Bi+LnLiA5hTNezZk4ihMPpk2w68JSeFL\nubTFlaAI9sRnUBSVATh3LzWgArOWgde4wvGGwHb4hAZ1wSUWFnfFxPl/Fh2i\n3PPyUd5mCqVvyWggN2uzm/skngmR8ISkSXgrhRo3zRtgPZnKIK8ucZKKfwiN\nua46ubSdbbqtiWA7gc2uWbXQx5qvkkSFoMz0TLHHtjyx5KjvLU7E6U8QTbG6\nFMAxNKIV4y0srAQF1+rs4f0KfsIKkO0jqJpG1v6SLYuRjtsRdeunCVGBK6dg\nqcF4c+2H+0lgyTAXbBhFGzWq6k/xCLUKVrYTbT7//AUodU07jyuAmkLT3mzb\nbVxaZq4Zeg9RZI5uv0ycGELRuMjFvApL6iFtzBlst24UZR4ok2iYqQo14t4t\nqY1VDP3s+1NYH7me+Rz4TXGrvSOTEovVC+sUKncXeEh8FJSuKeDeFzT1654x\nb2nQG5y7p2vgT0umeL5xlbRKfymDhWNBH0Ioua2T049nnPoc+QoJOyBuvZca\nzdK62A3Xzozz8ZfFrfbhjdgsjRxCaU7qcYjOKU3LMA2vYolziCKMKJAOIJ/K\nXUZS2GB9cyZ6pSdRoC0p/JjxZAAluXH5f3XTtaFZlDYIb+F6qG+zBs3dlCRG\nLNSF\r\n=uCMo\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file_5.0.0_1525593994579_0.8980414842921527"},"_hasShrinkwrap":false},"5.1.0":{"name":"load-json-file","version":"5.1.0","description":"Read and parse a JSON file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/load-json-file.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["read","json","parse","file","fs","graceful","load"],"dependencies":{"graceful-fs":"^4.1.2","parse-json":"^4.0.0","pify":"^3.0.0","strip-bom":"^3.0.0"},"devDependencies":{"ava":"*","tsd-check":"^0.2.1","xo":"*"},"gitHead":"adea38e6d70c131fb40188b45a748a05b551751e","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@5.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-+ggO8OpTviHQ/zoyFxLJglsu1CylXUt1vpGa+mIUeesCkTC0G+JO6rdTS1/WcGBZDC7Nejo1aZ9MxbqflpmO6Q==","shasum":"c062f048e0ee556bf7f535bb16f6e45bb9d06b18","tarball":"https://registry.npmjs.org/load-json-file/-/load-json-file-5.1.0.tgz","fileCount":5,"unpackedSize":5150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboIt1CRA9TVsSAnZWagAA5NcQAJo9TeSccsA2CJhMgzQ+\n1dy4kSwRO/U1F1V5qttLqFn1ow3cN2Zencc/McNAjayVoAkaIGK/Dvm1pCjx\nJc2laICjaLGfGpUdxSz0cUQp29TjFAVr91HpijV0rANV5enDeY1R/d+YNDT8\nnqPhBzUIKEZ7qJKimlcCSgm2sxM6ZqHTqzrIGflTDr34Y6jHr0nfteZcyuKC\n2HLRGLP48h21wilZ+9FZ1WWKEGjc/F9zUZ3vYjbqa7Rqg6+tdlzY4sh85u1N\n0HW20R5hbjcLTGSPq2kcMZnLIPCUU3TeA3rval3h/R7cmSpTypU/VKJZTjRG\nAqR2nSAR7/36aJyzdDKhmmdy8mcK2r7sn/kx3RkWejz4a8MHmj2n+2SDeMG7\nJg4qOEVFXHnY5Ioq/f8X0hS902H9wrf8+FplMYPKUKmQ6RIqpv/q6AUUYKZH\nkLS3M01yB2bYxUaIexC1py+zlSIQV6yL6ElaAANo4JAhi/W+zR2xw1pHmMr3\nrIsYI3ed5BU2fRpps7sBCpFcfGD8kKt8AlgOVWZ9GTHl2U6d/fYMaFOa9LF7\nkIupMMfCHBXV+bkYai9G6k/Xe+iqYA6gGuSr5HeNX2x0P8/384zGNJvqGHVP\nsQgbm9vk12vP8GdGBlCLh/J4mWsH+IV2GMcHCXMKQBmVWhSRFQODakfxyAEx\nBfrc\r\n=oBry\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file_5.1.0_1537248117214_0.07735695895334649"},"_hasShrinkwrap":false}},"readme":"# load-json-file [](https://travis-ci.org/sindresorhus/load-json-file)\n\n> Read and parse a JSON file\n\n[Strips UTF-8 BOM](https://github.com/sindresorhus/strip-bom), uses [`graceful-fs`](https://github.com/isaacs/node-graceful-fs), and throws more [helpful JSON errors](https://github.com/sindresorhus/parse-json).\n\n\n## Install\n\n```\n$ npm install load-json-file\n```\n\n\n## Usage\n\n```js\nconst loadJsonFile = require('load-json-file');\n\nloadJsonFile('foo.json').then(json => {\n\tconsole.log(json);\n\t//=> {foo: true}\n});\n```\n\n\n## API\n\n### loadJsonFile(filePath, [options])\n\nReturns a promise for the parsed JSON.\n\n### loadJsonFile.sync(filepath, [options])\n\nReturns the parsed JSON.\n\n#### options\n\nType: `Object`\n\n##### beforeParse\n\nType: `Function`\n\nApplies a function to the JSON string before parsing.\n\n##### reviver\n\nType: `Function`\n\nPrescribes how the value originally produced by parsing is transformed, before being returned. See the [`JSON.parse` docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#Using_the_reviver_parameter) for more.\n\n\n## Related\n\n- [write-json-file](https://github.com/sindresorhus/write-json-file) - Stringify and write JSON to a file atomically\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2018-09-18T05:22:00.181Z","created":"2015-09-02T06:41:38.200Z","1.0.0":"2015-09-02T06:41:38.200Z","1.0.1":"2015-09-04T07:53:06.716Z","1.1.0":"2015-11-14T19:30:26.909Z","2.0.0":"2016-04-30T17:17:49.311Z","3.0.0":"2017-08-20T00:18:02.755Z","4.0.0":"2017-11-04T07:57:09.197Z","5.0.0":"2018-05-06T08:06:34.678Z","5.1.0":"2018-09-18T05:21:57.311Z"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","keywords":["read","json","parse","file","fs","graceful","load"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/load-json-file.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"ziflex":true,"nicknaso":true,"usingthesystem":true,"rocket0191":true,"level9i":true,"kiinlam":true,"monjer":true,"arcticicestudio":true,"d3ck":true},"_etag":"W/\"f7834c2782016d5676126342856479ca\"","_lastModified":"Tue, 18 Sep 2018 05:22:01 GMT","_cached":true}