wallet-core/node_modules/json-loader/README.md

20 lines
379 B
Markdown
Raw Normal View History

2017-05-03 15:35:00 +02:00
# json loader for webpack
## Installation
`npm install json-loader`
## Usage
``` javascript
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)