{"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"keywords":["json","es6","module"],"dist-tags":{"latest":"0.0.3"},"author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"description":"Convert a JSON object to an ES6 module.","readme":"# json2module\n\nConvert a JSON object into an ES6 module. For example, given a package.json file:\n\n```json\n{\n  \"name\": \"hello-world\",\n  \"version\": \"0.0.1\"\n}\n```\n\nIf you run this through json2module like so:\n\n```json\njson2module < package.json\n```\n\nYou’ll get the following ES6 module as output:\n\n```js\nexport var name = \"hello-world\";\nexport var version = \"0.0.1\";\n```\n\nThis is particularly useful for exporting a version number defined in your package.json file when using [Rollup](http://rollupjs.org/). Unlike [rollup-plugin-json](https://github.com/rollup/rollup-plugin-json), which enables Rollup to parse JSON directly, json2module creates standard ES6 modules that can be consumed by any client.\n","repository":{"type":"git","url":"git+https://github.com/mbostock/json2module.git"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/mbostock/json2module/issues"},"versions":{"0.0.1":{"name":"json2module","version":"0.0.1","description":"Convert a JSON object to an ES6 module.","keywords":["json","es6","module"],"homepage":"https://github.com/mbostock/json2module","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"bin":{"json2module":"./bin/json2module"},"dependencies":{"rw":"^1.1.1"},"gitHead":"6b494b846cbbc281adb59105883eac079e5c8474","_id":"json2module@0.0.1","scripts":{},"_shasum":"103a3ca68345256c334b8c814e9166d3fad30f4e","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"anonymous","email":"mbostock@gmail.com"},"maintainers":[{"name":"anonymous","email":"mbostock@gmail.com"}],"dist":{"shasum":"103a3ca68345256c334b8c814e9166d3fad30f4e","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/json2module/-/json2module-0.0.1.tgz","integrity":"sha512-WzLWpP69wCx+9Q/Z4yHfmeqrKUBwEPOejAkB4GZ7sqju0qJhXLj7e6O1gXbQ57rm9tY7X9P93CvWp4Qpdw8rsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCn92gk+EwXv6bp4tXdKBHb8xsjPEWmdy+znGoryvmbRAIhAMEJhIBZllZTlrEPqN0irYSm1BhaXJlBW5TPzom8VifU"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json2module-0.0.1.tgz_1457973907952_0.8081133970990777"}},"0.0.2":{"name":"json2module","version":"0.0.2","description":"Convert a JSON object to an ES6 module.","keywords":["json","es6","module"],"homepage":"https://github.com/mbostock/json2module","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"repository":{"type":"git","url":"git+https://github.com/mbostock/json2module.git"},"bin":{"json2module":"./bin/json2module"},"scripts":{"postpublish":"git push && git push --tags"},"dependencies":{"rw":"^1.3.0"},"gitHead":"7094d6df614e21ea599a6f690860c4b94641089f","bugs":{"url":"https://github.com/mbostock/json2module/issues"},"_id":"json2module@0.0.2","_shasum":"9cb5e1931147e59e2e9a8e4f3309e50007107399","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"anonymous","email":"mbostock@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"dist":{"shasum":"9cb5e1931147e59e2e9a8e4f3309e50007107399","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/json2module/-/json2module-0.0.2.tgz","integrity":"sha512-6sqxCJoym5GJpI90sPixauZ3v0T9mvoT5hXCYxXaT6P8v2mEFNgsV48LtiaJhstCwntKZ+9vdtnv+qcJIN+92g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH/lvk8m+MtRQs7/mYZQ46yk3JWmVqds4AeTnElw6zOWAiEAxb1Lh+4z59qgibHEVYs7o6kctju+lx5yGZg8ysxl1Fo="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json2module-0.0.2.tgz_1457979651793_0.8334206191357225"}},"0.0.3":{"name":"json2module","version":"0.0.3","description":"Convert a JSON object to an ES6 module.","keywords":["json","es6","module"],"homepage":"https://github.com/mbostock/json2module","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"repository":{"type":"git","url":"git+https://github.com/mbostock/json2module.git"},"bin":{"json2module":"./bin/json2module"},"scripts":{"postpublish":"git push && git push --tags"},"dependencies":{"rw":"^1.3.2"},"gitHead":"7b32c35891c726e8d9453264bff9e40459d938bb","bugs":{"url":"https://github.com/mbostock/json2module/issues"},"_id":"json2module@0.0.3","_shasum":"00fb5f4a9b7adfc3f0647c29cb17bcd1979be9b2","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"anonymous","email":"mbostock@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"dist":{"shasum":"00fb5f4a9b7adfc3f0647c29cb17bcd1979be9b2","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/json2module/-/json2module-0.0.3.tgz","integrity":"sha512-qYGxqrRrt4GbB8IEOy1jJGypkNsjWoIMlZt4bAsmUScCA507Hbc2p1JOhBzqn45u3PWafUgH2OnzyNU7udO/GA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZPadsydbTMe0aIgiJhSP3lqw9duDDn22MGr8EJAfWEAIgV6e/XAC5M1fF4uOXvnD71YfJoULIjDEF1Pj/qlSEPUU="}]},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/json2module-0.0.3.tgz_1457981244128_0.6829835993703455"}}},"name":"json2module","time":{"modified":"2022-06-19T06:32:33.006Z","created":"2016-03-14T16:45:08.450Z","0.0.1":"2016-03-14T16:45:08.450Z","0.0.2":"2016-03-14T18:20:52.271Z","0.0.3":"2016-03-14T18:47:24.658Z"},"readmeFilename":"README.md","homepage":"https://github.com/mbostock/json2module"}