{"name":"@ipld/dag-json","version":"8.0.5","keywords":["ipfs","ipld","multiformats"],"author":{"url":"http://r.va.gg/","name":"Rod","email":"rod@vagg.org"},"license":"(Apache-2.0 AND MIT)","_id":"@ipld/dag-json@8.0.5","maintainers":[{"name":"rvagg","email":"r@va.gg"},{"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#readme","bugs":{"url":"https://github.com/ipld/js-dag-json/issues"},"dist":{"shasum":"1613b2ca394120d623a93fb86afb6021d6e28ac2","tarball":"http://registry-npm.ywwl.com/@ipld/dag-json/download/@ipld/dag-json-8.0.5.tgz","fileCount":27,"integrity":"sha512-kJtQqCoUOPBeUuv7v33InrX/aQDFCz+Rn94qs6hbCqUU0y0xZQN4LjuOx1SJomw3LEBUul50HwlfxJs+QmAVFQ==","signatures":[{"sig":"MEUCIQChr12Fn3fPmPWXWLgXaFpiQ8/FHmDAz+mlpWJXmnhAbgIgNoG55XjbUkqNK5DDwWqiv3eDdW/yTjrmWqUry6YsvVk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":743706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsaflCRA9TVsSAnZWagAAWiUQAKCAyP6KykjJLA656WGI\nBV+WKgZMX/CP/FWV+5a3oEtYMlOOo+jWVy7un/nY8YfSYmmkmDkzW7y1L77p\nz/T5ze1YTIIky+6n61QhrjK6KksQuZdfwY8VbWiG+BlLT8iOw7RkuwRlZWtL\nGTlQ95ZzCEWb+MKYa0GF2cTwa9kIUyyzNzD7T9tkyeKvz514IMhAwAnrOH4W\n3FOu6EUDTA3iHjMRYRh9N+UKp1JHFex/iYuSB5LzeoU6toXI+Go1zWod4Ih9\nFMzx+fYJWrSLq9YJ1qDZuaHkoJYVbMKcLazxMbvRO/5GCpvvo6pUwNOGWzd7\ncLiGIQmCTMFkhEJqeagYMMQokmkjhf4enaISji26VCsS4zlwadXBuGSC4bsR\nlqY2sPtcPqByUxnvvT5+arvm5GiQAa7V/va1ZEyCkEk4d16+xosvqw0GZUGV\nEGR9g2zjDsl7COMubeJdyfq1fmbQ7Jn3ItgXLeaL28hDSPRNWmP0x2OhYCKk\nyWNxTLMQcJY3lPWag3zHjxbZIQEIqE9lBlpKcFYeto+CAKwX3LypjB2E6GM2\nSfwvBI78RHgjvf679iuqu1VYQ5H5kiaaCs9NTTKl7BMo11Y36HtEaTYdqXxg\niPvMgDunpCVSyULUmL60khJnYiFIfoZJOlCC2b5mNko9t5wKxs/8NysIQGYW\n/xqq\r\n=63yx\r\n-----END PGP SIGNATURE-----\r\n","size":118438,"noattachment":false,"key":"/@ipld/dag-json/-/@ipld/dag-json-8.0.5.tgz"},"main":"index.js","type":"module","types":"./types/index.d.ts","exports":{"import":"./index.js"},"gitHead":"202d9439da13d70bf4ffff469388833e9ef88ba2","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"release":"major","breaking":true},{"revert":true,"release":"patch"},{"type":"feat","release":"minor"},{"type":"fix","release":"patch"},{"type":"chore","release":"patch"},{"type":"docs","release":"patch"},{"type":"test","release":"patch"},{"scope":"no-release","release":false}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","section":"Trivial Changes"},{"type":"docs","section":"Trivial Changes"},{"type":"test","section":"Tests"}]}}],"@semantic-release/changelog",["@semantic-release/npm",{"pkgRoot":"dist"}],"@semantic-release/github","@semantic-release/git"],"branches":["master"]},"scripts":{"lint":"standard *.js test/*.js","test":"npm run lint && npm run test:node && npm run test:esm && npm run test:ts","build":"npm run build:js && npm run build:types","test:ci":"npm run lint && npm run test:node && npm run test:esm && npm run test:cjs && npm run test:ts","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:esm":"npm run build:js && mocha dist/esm/node-test/test-*.js && npm run test:esm:browser","test:node":"c8 --check-coverage --branches 100 --functions 100 --lines 100 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/browser-test/test-*.js","test:esm:browser":"polendina --page --worker --serviceworker --cleanup dist/esm/browser-test/test-*.js"},"_npmUser":{"name":"mikeal","email":"mikeal.rogers@gmail.com"},"standard":{"ignore":["dist"]},"repository":{"url":"git+https://github.com/ipld/js-dag-json.git","type":"git"},"_npmVersion":"6.14.15","description":"JS implementation of DAG-JSON","directories":{"test":"test"},"_nodeVersion":"12.22.7","dependencies":{"cborg":"^1.5.4","multiformats":"^9.5.4"},"typesVersions":{"*":{"*":["types/*"],"types/*":["types/*"]}},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.10.0","chai":"^4.3.4","ipjs":"^5.2.0","mocha":"^9.1.3","standard":"^16.0.4","polendina":"~2.0.1","typescript":"~4.5.2","ipld-garbage":"^4.0.10"},"_npmOperationalInternal":{"tmp":"tmp/dag-json_8.0.5_1639032805736_0.3178167096601525","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":1639032805927,"_cnpm_publish_time":1639032805927,"dist-tags":{"latest":"11.0.1"}}