{"name":"@ipld/dag-json","version":"3.0.10","keywords":[],"author":{"url":"https://www.mikealrogers.com/","name":"Mikeal Rogers","email":"mikeal.rogers@gmail.com"},"license":"(Apache-2.0 AND MIT)","_id":"@ipld/dag-json@3.0.10","maintainers":[{"name":"daviddias","email":"mail@daviddias.me"},{"name":"mikeal","email":"mikeal.rogers@gmail.com"},{"name":"vmx","email":"volker.mische@gmail.com"}],"homepage":"https://github.com/mikeal/dag-json#readme","bugs":{"url":"https://github.com/mikeal/dag-json/issues"},"dist":{"shasum":"aa13d23b4c4494a23eee2e0bfa2fd286ed3fd55b","tarball":"http://registry-npm.ywwl.com/@ipld/dag-json/download/@ipld/dag-json-3.0.10.tgz","fileCount":7,"integrity":"sha512-aI7m2cSw79rJI1C/WdmmjAWjeaDj232EyL1hU8zhBEMuf9HiQCw9Koq3AVAD6YiL/pakJ/4wPVhUH2qAD/wbVg==","signatures":[{"sig":"MEUCIHvMq/8Z+NA/OwWqavGVV5ZnvA5s/Y/pDadoIXsjhOd8AiEA8hL2ntxYa8zBS2H9KOTD58GVIWzXWw+QTlIlPtbTghE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":764482,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe87/+CRA9TVsSAnZWagAAhBsP/3ExDXgzSvh9aPrK2sd1\nNW7Fork7yYz0MFxYvBv0Sb2EIyRRk8j87svCk6D0Go1pibh6pzzCHUkQFRv4\nAjmpcYUZxfj2L0cTMeKc93nfRBQlpE9fJJjU+RVRXi7M6QH4tsUROwhtOkdc\n0VUF7eShiMTDFbOVs0c3m7r4SpC6l1HiQ0al7AirTuwFp2ICScj3XN6I2CcG\nNx0eMwOGRbjqDE8Sj/Flr9k5vM43oomWWlzA/8Mf0fNx6mCrSAZTTJDtrM4q\njpQamH1T35zoW6ndcG9J9GIcFK2keg7Ljjc56u8pcXpNyFxXtlsI/G8YaGF9\nW9aHcuwrfkmNZ/XYAQDosN8Ixp/+9CBr+bQWetfi1CxO7VxMJ0vPADury8PD\nI8/5ryWTmw0edNTE7k9VMj4LwhijnplOuAjp5ti+pobFO8iTYxUX259Wt5Or\nD+lTvacKywvP+TnvYaWOQZvtHN8GQ91XOoetXHVc/jWbDJXUHCtcaFL9c14h\nRDpTdFTJUEktGEaY+CCYguo2cf6DO/leAi02qTPVfakUxowjI4ydhK1TJv1I\nP/M7bteJnNlK0ThutL1ST310R+2v7hyAhTmbSeGFP94cYlFBGxGsDrv6C21b\nUeInp7K/YLsDq5Fb0d1wXLwiT0YC9swYuAmjDYc8Yqn/iOQ20cpQknsyban1\num/7\r\n=Bg0B\r\n-----END PGP SIGNATURE-----\r\n","size":119428,"noattachment":false,"key":"/@ipld/dag-json/-/@ipld/dag-json-3.0.10.tgz"},"main":"index.js","type":"module","exports":{"import":"./index.js","require":"./dist/index.cjs"},"gitHead":"111db0568692464c493dadd64ac72da65a07e477","scripts":{"lint":"standard","test":"npm run lint && npm run test:node && npm run test:browser && npm run test:cjs","build":"rollup --config rollup.config.js","coverage":"c8 --reporter=html mocha test.js && npx st -d coverage -p 8080","test:cjs":"npm run build && mocha dist/test/test-*.cjs","test:node":"hundreds mocha test/test-*.js","test:browser":"polendina --cleanup test/test-*.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"mikeal","email":"mikeal.rogers@gmail.com"},"repository":{"url":"git+https://github.com/mikeal/dag-json.git","type":"git"},"_npmVersion":"6.14.5","description":"JSON Directed Acrylic Graph for IPLD","directories":{"test":"test"},"_nodeVersion":"12.18.1","dependencies":{"is-circular":"^1.0.2","lodash.transform":"^4.6.0","fast-json-stable-stringify":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^8.0.1","rollup":"^2.17.1","hundreds":"0.0.7","standard":"^14.3.4","polendina":"^1.0.0","multiformats":"1.1.6"},"_npmOperationalInternal":{"tmp":"tmp/dag-json_3.0.10_1593032702069_0.6148978955031417","host":"s3://npm-registry-packages"},"readme":"# @ipld/dag-json\n\n[![codecov](https://img.shields.io/codecov/c/github/ipld/js-dag-json.svg?style=flat-square)](https://codecov.io/gh/ipld/js-dag-json)\n[![CI](https://img.shields.io/github/actions/workflow/status/ipld/js-dag-json/js-test-and-release.yml?branch=master\\&style=flat-square)](https://github.com/ipld/js-dag-json/actions/workflows/js-test-and-release.yml?query=branch%3Amaster)\n\n> JS implementation of DAG-JSON\n\n# Install\n\n```console\n$ npm i @ipld/dag-json\n```\n\n## Browser `<script>` tag\n\nLoading this module through a script tag will make its exports available as `IpldDagJson` in the global namespace.\n\n```html\n<script src=\"https://unpkg.com/@ipld/dag-json/dist/index.min.js\"></script>\n```\n\n# Usage\n\n`@ipld/dag-json` is designed to be used within multiformats but can be used separately. `encode()`, `decode()` are available as exports, as are `name` and `code` to match with the corresponding DAG-JSON [multicodec](https://github.com/multiformats/multicodec/).\n\n# API Docs\n\n- <https://ipld.github.io/js-dag-json>\n\n# License\n\nLicensed under either of\n\n- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipld/js-dag-json/LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)\n- MIT ([LICENSE-MIT](https://github.com/ipld/js-dag-json/LICENSE-MIT) / <http://opensource.org/licenses/MIT>)\n\n# Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","publish_time":1593032702501,"_cnpm_publish_time":1593032702501,"dist-tags":{"latest":"11.0.1"}}