{"_id":"load-json-file","_rev":"826346","name":"load-json-file","description":"Read and parse a JSON file","dist-tags":{"latest":"7.0.1"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-09-13T04:50:54.000Z","created":"2015-09-02T06:41:38.200Z","7.0.1":"2021-09-13T04:47:45.199Z","7.0.0":"2021-08-30T17:42:50.729Z","6.2.0":"2019-07-11T08:30:09.981Z","6.1.0":"2019-06-11T17:07:04.016Z","6.0.0":"2019-04-27T15:38:23.058Z","5.3.0":"2019-04-06T16:02:11.920Z","5.2.0":"2019-02-12T10:09:26.991Z","5.1.0":"2018-09-18T05:21:57.311Z","5.0.0":"2018-05-06T08:06:34.678Z","4.0.0":"2017-11-04T07:57:09.197Z","3.0.0":"2017-08-20T00:18:02.755Z","2.0.0":"2016-04-30T17:17:49.311Z","1.1.0":"2015-11-14T19:30:26.909Z","1.0.1":"2015-09-04T07:53:06.716Z","1.0.0":"2015-09-02T06:41:38.200Z"},"users":{"danielbayley":true,"ziflex":true,"nicknaso":true,"usingthesystem":true,"rocket0191":true,"level9i":true,"kiinlam":true,"monjer":true,"arcticicestudio":true,"d3ck":true,"hualei":true,"zuojiang":true,"yanrivera":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/load-json-file.git"},"versions":{"7.0.1":{"name":"load-json-file","version":"7.0.1","description":"Read and parse a JSON file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/load-json-file.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["read","json","parse","file","fs","load"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"eeac7ad786731a6c7e4a50b414ebb43c847bf6f6","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@7.0.1","_nodeVersion":"12.22.1","_npmVersion":"7.20.3","dist":{"shasum":"a3c9fde6beffb6bedb5acf104fad6bb1604e1b00","size":2461,"noattachment":false,"key":"/load-json-file/-/load-json-file-7.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-7.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file_7.0.1_1631508464972_0.5476091285485887"},"_hasShrinkwrap":false,"publish_time":1631508465199,"_cnpm_publish_time":1631508465199},"7.0.0":{"name":"load-json-file","version":"7.0.0","description":"Read and parse a JSON file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/load-json-file.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["read","json","parse","file","fs","load"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"657385f31fe844387bdc2a3eeb5d39bbed1907f3","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@7.0.0","_nodeVersion":"14.17.5","_npmVersion":"7.20.3","dist":{"shasum":"3a0f1aec57e7ee33fcc13b5ca7337f47b51f46cf","size":2455,"noattachment":false,"key":"/load-json-file/-/load-json-file-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-7.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file_7.0.0_1630345370567_0.7290389030816806"},"_hasShrinkwrap":false,"publish_time":1630345370729,"_cnpm_publish_time":1630345370729},"6.2.0":{"name":"load-json-file","version":"6.2.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":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["read","json","parse","file","fs","graceful","load"],"dependencies":{"graceful-fs":"^4.1.15","parse-json":"^5.0.0","strip-bom":"^4.0.0","type-fest":"^0.6.0"},"devDependencies":{"ava":"^2.1.0","tsd":"^0.7.3","xo":"^0.24.0"},"gitHead":"85fcfc5225fb3ac11d2e93c9e2bd4a9d43c52b69","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@6.2.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"5c7770b42cafa97074ca2848707c61662f4251a1","size":2542,"noattachment":false,"key":"/load-json-file/-/load-json-file-6.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-6.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file_6.2.0_1562833809799_0.8024028491579944"},"_hasShrinkwrap":false,"publish_time":1562833809981,"_cnpm_publish_time":1562833809981},"6.1.0":{"name":"load-json-file","version":"6.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":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["read","json","parse","file","fs","graceful","load"],"dependencies":{"graceful-fs":"^4.1.15","parse-json":"^4.0.0","strip-bom":"^4.0.0","type-fest":"^0.5.2"},"devDependencies":{"ava":"^2.1.0","tsd":"^0.7.3","xo":"^0.24.0"},"gitHead":"05b63349e36a2b954ba289084cb98c1f4ce602ff","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@6.1.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b8e9bc4bc7a8c4dea70aee03ba947b0fdf5866ff","size":2539,"noattachment":false,"key":"/load-json-file/-/load-json-file-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-6.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file_6.1.0_1560272823913_0.13878810296864597"},"_hasShrinkwrap":false,"publish_time":1560272824016,"_cnpm_publish_time":1560272824016},"6.0.0":{"name":"load-json-file","version":"6.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":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["read","json","parse","file","fs","graceful","load"],"dependencies":{"graceful-fs":"^4.1.15","parse-json":"^4.0.0","strip-bom":"^3.0.0","type-fest":"^0.4.1"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"39dbae7e50f9c4e5e3c9d23333904fb9fa6fde56","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@6.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"2f0983647a5b6b1e47e77dfa310a69289151f3be","size":2334,"noattachment":false,"key":"/load-json-file/-/load-json-file-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-6.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file_6.0.0_1556379502940_0.42764027648369907"},"_hasShrinkwrap":false,"publish_time":1556379503058,"_cnpm_publish_time":1556379503058},"5.3.0":{"name":"load-json-file","version":"5.3.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"},"keywords":["read","json","parse","file","fs","graceful","load"],"dependencies":{"graceful-fs":"^4.1.15","parse-json":"^4.0.0","pify":"^4.0.1","strip-bom":"^3.0.0","type-fest":"^0.3.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"62ba870080fa1752ed4f482dc239bf640e3d5ede","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@5.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"4d3c1e01fa1c03ea78a60ac7af932c9ce53403f3","size":2395,"noattachment":false,"key":"/load-json-file/-/load-json-file-5.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-5.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file_5.3.0_1554566531791_0.7754365424027732"},"_hasShrinkwrap":false,"publish_time":1554566531920,"_cnpm_publish_time":1554566531920},"5.2.0":{"name":"load-json-file","version":"5.2.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":"ebe5060c5613b20cbfa3188dfa2f938b25529941","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"homepage":"https://github.com/sindresorhus/load-json-file#readme","_id":"load-json-file@5.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1553627a18bf7b08cd7ec232d63981239085a578","size":2327,"noattachment":false,"key":"/load-json-file/-/load-json-file-5.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-5.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file_5.2.0_1549966166847_0.641299810931989"},"_hasShrinkwrap":false,"publish_time":1549966166991,"_cnpm_publish_time":1549966166991},"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":{"shasum":"c062f048e0ee556bf7f535bb16f6e45bb9d06b18","size":2337,"noattachment":false,"key":"/load-json-file/-/load-json-file-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-5.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file_5.1.0_1537248117214_0.07735695895334649"},"_hasShrinkwrap":false,"publish_time":1537248117311,"_cnpm_publish_time":1537248117311},"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":{"shasum":"5b5ef7cb6e1e337408e02fe01fe679ccc0cd18d5","size":1987,"noattachment":false,"key":"/load-json-file/-/load-json-file-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-5.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file_5.0.0_1525593994579_0.8980414842921527"},"_hasShrinkwrap":false,"publish_time":1525593994678,"_cnpm_publish_time":1525593994678},"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","size":1733,"noattachment":false,"key":"/load-json-file/-/load-json-file-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file-4.0.0.tgz_1509782229082_0.7325113639235497"},"directories":{},"publish_time":1509782229197,"_hasShrinkwrap":false,"_cnpm_publish_time":1509782229197},"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","size":1732,"noattachment":false,"key":"/load-json-file/-/load-json-file-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-json-file-3.0.0.tgz_1503188282582_0.7917490075342357"},"directories":{},"publish_time":1503188282755,"_hasShrinkwrap":false,"_cnpm_publish_time":1503188282755},"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","size":1750,"noattachment":false,"key":"/load-json-file/-/load-json-file-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/load-json-file-2.0.0.tgz_1462036668887_0.931434569414705"},"directories":{},"publish_time":1462036669311,"_cnpm_publish_time":1462036669311,"_hasShrinkwrap":false},"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","size":1825,"noattachment":false,"key":"/load-json-file/-/load-json-file-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1447529426909,"_cnpm_publish_time":1447529426909,"_hasShrinkwrap":false},"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","size":1806,"noattachment":false,"key":"/load-json-file/-/load-json-file-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1441353186716,"_cnpm_publish_time":1441353186716,"_hasShrinkwrap":false},"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","size":1805,"noattachment":false,"key":"/load-json-file/-/load-json-file-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/load-json-file/download/load-json-file-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1441176098200,"_cnpm_publish_time":1441176098200,"_hasShrinkwrap":false}},"readme":"# load-json-file\n\n> Read and parse a JSON file\n\nIt also [strips UTF-8 BOM](https://github.com/sindresorhus/strip-bom).\n\n## Install\n\n```\n$ npm install load-json-file\n```\n\n## Usage\n\n```js\nimport {loadJsonFile} from 'load-json-file';\n\nconsole.log(await loadJsonFile('foo.json'));\n//=> {foo: true}\n```\n\n## API\n\n### loadJsonFile(filePath, options?)\n\nReturns a `Promise<unknown>` with the parsed JSON.\n\n### loadJsonFileSync(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## load-json-file for enterprise\n\nAvailable as part of the Tidelift Subscription.\n\nThe maintainers of load-json-file and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-load-json-file?utm_source=npm-load-json-file&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)\n\n## Related\n\n- [write-json-file](https://github.com/sindresorhus/write-json-file) - Stringify and write JSON to a file atomically\n","_attachments":{},"homepage":"https://github.com/sindresorhus/load-json-file#readme","bugs":{"url":"https://github.com/sindresorhus/load-json-file/issues"},"license":"MIT"}