Nihil Prius Modulus

    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

    Install

    npm i readjson

    DownloadsWeekly Downloads

    27,172

    Version

    2.2.2

    License

    MIT

    Unpacked Size

    6.1 kB

    Total Files

    5

    Last publish

    Collaborators

    • coderaiser