Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

read-json

n-johnson2.6kBSD1.0.3

Reads and parses a JSON file.

readme

read-json

Reads and parses a JSON file.

Install

$ npm install read-json

Usage

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

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

})