really-load-json
Load and parse a JSON file, either sync or async
Usage
var reallyLoadJSON = ; // Load this module's package.json to demovar packageData = reallyLoadJSON;console; // Or asyncreallyLoadJSON;
Have a look at example.js
.
Tests
Tests are in tests.js
and built with nodeunit. Run npm test
to run the tests.