{"name":"@ipld/dag-json","version":"7.0.8","keywords":["IPFS","IPLD"],"author":{"url":"https://www.mikealrogers.com/","name":"Mikeal Rogers","email":"mikeal.rogers@gmail.com"},"license":"(Apache-2.0 AND MIT)","_id":"@ipld/dag-json@7.0.8","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/ipld/js-dag-json","bugs":{"url":"https://github.com/ipld/js-dag-json/issues"},"dist":{"shasum":"70ae927add36325d12765eb5063042c3fa01892c","tarball":"http://registry-npm.ywwl.com/@ipld/dag-json/download/@ipld/dag-json-7.0.8.tgz","fileCount":30,"integrity":"sha512-Chm1PIQtEyPF0xBsx03tuCHWw5gAlL/VCcl3a58TSnyyX3sKpZivrQtYNMiyLXdW5uYYlFPQXK458+shzpavlg==","signatures":[{"sig":"MEYCIQC42OrUTuqPyHwOH1Ns8g7dxJl94WcnCsbsDlRejFySxgIhAJ86B1NS/UmlhD7lGi2C/F7KwwyciUDtMV34VN6pnq15","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52742,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDHlKCRA9TVsSAnZWagAARXAP+QCrdOnGzNiTjUb/8UQQ\nI8n68imwmHbpR5CQ0MaL92M4mccT+iRMxfgIKg42eq2UV/gBSLBzr1HgXlak\nHjsUaho49wdJSi6QBM9EjxAzkwJatIk69p4JgIC2sCtyN8Ie0HomwQAqTWoi\nfKO2fCnBAedidVjRAMiXcDiC3F4ID96MkBZQLww4p9p9XrzUc+YZxD7BUUMo\nxcbru24mXxUSLo7rV4r5ygx+PbYzRZbB4Puo6zikLJboX2wkMzdV4vljAFJQ\nN6haL/TEZmqlKEgiMEFOhd44u0Gv6/Z5VnbJYQm2G42ExSZ2ouPT4R9YwFeF\nzR33Bz9O5C+jvQA9cfFI2IPMMj2VWqNIF2OsPaoHfYfePmyWNlrIpp3znOUw\nGxmBN6Bl52C2VuUUpyUliEEeW1uPOOk68GmRuooTleg7kgsLAOfyAkC9Mkod\nbX6FbKD8u04jV78OAPBCFGmLbMnuSbbzGPi1MMgxAk2qcmCKcPj1Zhr0vo2y\nwqIZrke4xu8/muaF+X4gUfxqkvnrByDjb55GMPqOg9w+h5v8uCG2cUZFFg+L\nkPX3P4sdm9J7gxMKKM/4Vq63Kpj65VN3ekU07k5S/J46GAWjXmfMIaeG+tj1\nuQONf+ubEr5k/NixWo8VHRJdmzmauIt6rfQZziIl5oW/MFKnWNdnDuZSHYtR\nLuxT\r\n=pwxr\r\n-----END PGP SIGNATURE-----\r\n","size":9417,"noattachment":false,"key":"/@ipld/dag-json/-/@ipld/dag-json-7.0.8.tgz"},"main":"./cjs/index.js","types":"./types/index.d.ts","browser":"./cjs/index.js","exports":{"import":"./esm/index.js","browser":"./esm/index.js","require":"./cjs/index.js"},"scripts":{"lint":"standard *.js test/*.js","test":"npm run lint && npm run test:node && npm run test:cjs && npm run test:ts","build":"npm run build:js && npm run build:types","publish":"ipjs publish","test:ts":"npm run build:types && npm run test --prefix test/ts-use","build:js":"ipjs build --tests --main && npm run build:copy","coverage":"c8 --reporter=html mocha test/test-*.js && npm_config_yes=true npx st -d coverage -p 8080","test:cjs":"npm run build:js && mocha dist/cjs/node-test/test-*.js && npm run test:cjs:browser","test:node":"hundreds mocha test/test-*.js","build:copy":"cp -a tsconfig.json index.js dist/ && mkdir -p dist/test && cp test/*.js dist/test/","build:types":"npm run build:copy && cd dist && tsc --build","test:cjs:browser":"polendina --page --worker --serviceworker --cleanup dist/cjs/node-test/test-*.js"},"_npmUser":{"name":"mikeal","email":"mikeal.rogers@gmail.com"},"repository":{"url":"git+https://github.com/ipld/js-dag-json.git","type":"git"},"_npmVersion":"6.14.14","description":"JSON Directed Acrylic Graph (DAG-JSON) for IPLD","directories":{"test":"test"},"_nodeVersion":"12.22.4","dependencies":{"cborg":"^1.3.1","multiformats":"^9.0.0"},"typesVersions":{"*":{"*":["types/*"],"types/*":["types/*"]}},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","ipjs":"^5.0.0","mocha":"^9.0.0","hundreds":"^0.0.9","standard":"^16.0.3","polendina":"^1.1.0","typescript":"^4.2.4","ipld-garbage":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/dag-json_7.0.8_1628207434521_0.15042671786154083","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":1628207434718,"_cnpm_publish_time":1628207434718,"dist-tags":{"latest":"11.0.1"}}