rea

readjson

Read file and parse it as json

Showing:

Popularity

Downloads/wk

28.4K

GitHub Stars

2

Maintenance

Last Commit

8mos ago

Contributors

1

Package

Dependencies

2

Size (min+gzip)

9.7KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100