jsonloader

1.0.1 • Public • Published

jsonloader

Installation

Simply:

npm install --save jsonloader

Usage

    var jsonloader = require('jsonloader');

jsonloader is object oriented, and it's extremely simple

Say I have a file test.json, containing the following

    {
        "test": "Hello World"
    }

To access it with jsonloader, all I simply have to do is:

    var file = new jsonloader('test.json');
    
    console.log(file.test); //=> "Hello World"

It's that simple.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    460
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    460
  • 1.0.0
    0

Package Sidebar

Install

npm i jsonloader

Weekly Downloads

460

Version

1.0.1

License

ISC

Last publish

Collaborators

  • dtesler