{"name":"json-loader","version":"0.5.2","author":{"name":"Tobias Koppers @sokra"},"description":"json loader module for webpack","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack/json-loader.git"},"gitHead":"aac80d2bcdc90cb8c81e828e773933bfcdac9091","bugs":{"url":"https://github.com/webpack/json-loader/issues"},"homepage":"https://github.com/webpack/json-loader#readme","_id":"json-loader@0.5.2","scripts":{},"_shasum":"ed79019c4f3778422eccd62427eb526612c6ef40","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.12.2","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}],"dist":{"shasum":"ed79019c4f3778422eccd62427eb526612c6ef40","tarball":"http://registry-npm.ywwl.com/json-loader/download/json-loader-0.5.2.tgz","integrity":"sha512-qSISu7ovEZm7oRjMIClQEQzYrveVMd923RJ2eWdwnkwqD2PuYo92sm6+eGDvpftWmYtxHnNNtN3AxDcnTzlygA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCI4p2sv5DFI5d5GzpAKQFHC6aM3XxJXCgrZxWMb1F4KwIhANusPDOypuZcXUMA3qIxsbJSqdJq361C4A6Dv8AQ6TAk"}],"size":664,"noattachment":false,"key":"/json-loader/-/json-loader-0.5.2.tgz"},"directories":{},"readme":"[![npm][npm]][npm-url]\r\n[![node][node]][node-url]\r\n[![deps][deps]][deps-url]\r\n[![tests][tests]][tests-url]\r\n[![coverage][cover]][cover-url]\r\n[![chat][chat]][chat-url]\r\n\r\n<div align=\"center\">\r\n  <img width=\"160\" height=\"180\"\r\n    src=\"https://worldvectorlogo.com/logos/json.svg\">\r\n  <a href=\"https://github.com/webpack/webpack\">\r\n    <img width=\"200\" height=\"200\"\r\n      src=\"https://webpack.js.org/assets/icon-square-big.svg\">\r\n  </a>\r\n  <h1>JSON Loader</h1>\r\n</div>\r\n\r\n<h2 align=\"center\">Install</h2>\r\n\r\n```bash\r\nnpm install --save-dev json-loader\r\n```\r\n\r\n> ⚠️ **Since `webpack >= v2.0.0`, importing of JSON files will work by default. You might still want to use this if you use a custom file extension. See the [v1.0.0 -> v2.0.0 Migration Guide](https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore) for more information**\r\n\r\n<h2 align=\"center\">Usage</h2>\r\n\r\n### `Inline`\r\n\r\n```js\r\nconst json = require('json-loader!./file.json');\r\n```\r\n\r\n### `Configuration` (recommended)\r\n\r\n```js\r\nconst json = require('./file.json');\r\n```\r\n\r\n**webpack.config.js**\r\n```js\r\nmodule.exports = {\r\n  module: {\r\n    loaders: [\r\n      {\r\n        test: /\\.json$/,\r\n        loader: 'json-loader'\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n<h2 align=\"center\">Maintainer</h2>\r\n\r\n<table>\r\n  <tbody>\r\n    <tr>\r\n      <td align=\"center\">\r\n        <img width=\"150\" height=\"150\" src=\"https://avatars.githubusercontent.com/sokra?v=3\">\r\n        </br>\r\n        <a href=\"https://github.com/sokra\">Tobias Koppers</a>\r\n      </td>\r\n    </tr>\r\n  </tbody>\r\n</table>\r\n\r\n\r\n[npm]: https://img.shields.io/npm/v/json-loader.svg\r\n[npm-url]: https://npmjs.com/package/json-loader\r\n\r\n[node]: https://img.shields.io/node/v/json-loader.svg\r\n[node-url]: https://nodejs.org\r\n\r\n[deps]: https://david-dm.org/webpack/json-loader.svg\r\n[deps-url]: https://david-dm.org/webpack/json-loader\r\n\r\n[tests]: http://img.shields.io/travis/webpack/json-loader.svg\r\n[tests-url]: https://travis-ci.org/webpack/json-loader\r\n\r\n[cover]: https://coveralls.io/repos/github/webpack/json-loader/badge.svg\r\n[cover-url]: https://coveralls.io/github/webpack/json-loader\r\n\r\n[chat]: https://badges.gitter.im/webpack/webpack.svg\r\n[chat-url]: https://gitter.im/webpack/webpack\r\n","publish_time":1432452649803,"_cnpm_publish_time":1432452649803,"dist-tags":{"latest":"0.5.7"}}