npm install json-loader
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.
require
webpack
MIT (http://www.opensource.org/licenses/mit-license.php)