Skip to content
Reads and parses a JSON file.
JavaScript
Find file
Latest commit 912590f Oct 10, 2015 @azer 1.0.0
Failed to load latest commit information.
.gitignore fc May 12, 2013
.npmignore Ignore .travis.yml Sep 27, 2014
.travis.yml Create .travis.yml May 14, 2013
README.md fc May 13, 2013
index.js add sync option Oct 10, 2015
package.json 1.0.0 Oct 10, 2015
test.js add sync option Oct 10, 2015

README.md

read-json

Reads and parses a JSON file.

Install

$ npm install read-json

Usage

readJSON('./package.json', function(error, manifest){

    manifest.name
    // => 'read-json'

})

Something went wrong with that request. Please try again.