Name Last Update
..
README.md Loading commit data...
index.js Loading commit data...
package.json Loading commit data...

README.md

json loader for webpack

Installation

npm install json-loader

Usage

var json = require("json!./file.json");
// => returns file.json content as json parsed object

Don't forget to polyfill require if you want to use it in node. See webpack documentation.

License

MIT (http://www.opensource.org/licenses/mit-license.php)