{"name":"readjson","version":"1.1.4","description":"Read file and parse it as json.","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/coderaiser/node-readjson/issues"},"main":"lib/readjson.js","scripts":{"lint":"eslint lib test","test":"tape test/*.js","coverage":"nyc npm test","report":"nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+ssh://git@github.com/coderaiser/node-readjson.git"},"keywords":["read","parse","json"],"dependencies":{"try-catch":"^2.0.0"},"devDependencies":{"coveralls":"^3.0.0","eslint":"^4.17.0","eslint-plugin-node":"^6.0.0","nyc":"^11.0.2","redrun":"^5.0.1","tape":"^4.2.2"},"gitHead":"e19e99d8f45d2112b7b8dfc41b4361adc18e58ab","homepage":"https://github.com/coderaiser/node-readjson#readme","_id":"readjson@1.1.4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-H4dRk2S67w3HtE1apnw5wlHpN9qkJ0pen0AcEvyAfnrPfskZIyUOYLXpfN6olDQZI+eUlxg0Yo4lJ2bymujOUA==","shasum":"89501f648453dcda9b15399b3fb10c38249662c7","tarball":"http://registry-npm.ywwl.com/readjson/download/readjson-1.1.4.tgz","fileCount":7,"unpackedSize":9862,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHthgowYDz/1hoixZZ05uTBOkOf48QWOTJQInx0/czuMAiALpPQEp/7pbx+dwBUE4TROFGyXzv3+NzaN3mnqEpTodg=="}],"size":3510,"noattachment":false,"key":"/readjson/-/readjson-1.1.4.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/readjson_1.1.4_1518177024354_0.5828304595355678"},"_hasShrinkwrap":false,"readme":"# readjson [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]\n\nRead file and parse it as json.\n\n## Install\n\n```\nnpm i readjson --save\n```\n## How to use?\n\n```js\nconst readjson = require('readjson');\n\nconst json = await readjson('./package.json');\n\n// throws if file not found\nreadjson.sync('./package.json');\n\nreadjson.sync.try('./package.json');\n```\n\n## License\n\nMIT\n\n[NPMIMGURL]:                https://img.shields.io/npm/v/readjson.svg?style=flat\n[BuildStatusIMGURL]:        https://img.shields.io/travis/coderaiser/node-readjson/master.svg?style=flat\n[DependencyStatusIMGURL]:   https://img.shields.io/david/coderaiser/node-readjson.svg?style=flat\n[LicenseIMGURL]:            https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat\n[CoverageIMGURL]:           https://coveralls.io/repos/coderaiser/node-readjson/badge.svg?branch=master&service=github\n[NPMURL]:                   https://npmjs.org/package/readjson \"npm\"\n[BuildStatusURL]:           https://travis-ci.org/coderaiser/node-readjson  \"Build Status\"\n[DependencyStatusURL]:      https://david-dm.org/coderaiser/node-readjson \"Dependency Status\"\n[LicenseURL]:               https://tldrlegal.com/license/mit-license \"MIT License\"\n[CoverageURL]:              https://coveralls.io/github/coderaiser/node-readjson?branch=master\n","publish_time":1518177025292,"_cnpm_publish_time":1518177025292,"dist-tags":{"latest":"2.2.2"}}