readjson

2.2.2 • Public • Published

readjson License NPM version Dependency Status Build Status Coverage Status

Read file and parse it as json.

Install

npm i readjson --save

How to use?

const readjson = require('readjson');

const json = await readjson('./package.json');

// throws if file not found
readjson.sync('./package.json');

readjson.sync.try('./package.json');

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.2.235,583latest

Version History

VersionDownloads (Last 7 Days)Published
2.2.235,583
2.2.15
2.2.02
2.1.03
2.0.1188
2.0.01
1.1.41,202
1.1.3372
1.1.20
1.1.10
1.1.02
1.0.23
1.0.11
1.0.01

Package Sidebar

Install

npm i readjson

Weekly Downloads

37,363

Version

2.2.2

License

MIT

Unpacked Size

6.1 kB

Total Files

5

Last publish

Collaborators

  • coderaiser