{"name":"@ipld/dag-json","version":"8.0.6","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.6","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":"282dc522090e3aa9a22cdb3d3866d57be6b57986","tarball":"http://registry-npm.ywwl.com/@ipld/dag-json/download/@ipld/dag-json-8.0.6.tgz","fileCount":27,"integrity":"sha512-7F51armLe32koSnaHwy2oLjFhvfnB/NT5qBqLJAd9aJVIJMDcKjTL1jbwkSXolDqP9wat6yEsPc6ZWtbQLq/Lw==","signatures":[{"sig":"MEUCIAVCPKJSBEK+1PeyOJZJNod5HthiDyg8uY+tjs/E65AtAiEAr3G7V2auHMc1q/7ZypIOHh23HYT1wEX46I2+it4XT7s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":743948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsa7OCRA9TVsSAnZWagAAQXkP/0hVM5W2AuhIzpCePYQ2\nZ7jCcJ56Qbhjs8N725gukZuFS61Zb0OtZdCZ+hzs3w1LbYInySJb4PJ6m09S\n2ldR5L3FiArB02z7mAftQ870QlaIJNAAtghFynvtVKWesViVDqUSfUN5lD7H\nKjhnVpgm8eyOBBklMOMxfIDJa7YVtu4QAmUHyfr1q0oL+U03tjzXx4y04acN\n+8WOoLtjVDSYGkEeTD3PWY1fXQqGmDJCxVRNaY5B1GEz5kIIbwevo9GH/GrI\noX3EjM6TQuI89MdaEZsX2/sulRjjHK03Yt/1h4Ht+XmhbI9R4qUcEurSUlXx\nGyVh/fe7yOt3wICwI314BmhIK5CwpFtZvwrq8lpjOln8SMG6RR2sWsOTqv4X\nOO86ydPW8Ym9Fjr5Bo29cyL4V/jregPrrGgV6TJ0oEy5SCmg0pc/SyhObEVl\nafPDG0j/5stW7okd9J3fW7IrPDXs3v3gqmczLsFrekEho3k0HAvnaoErrEqt\nTuchWreOenN2kg6qoDwsA7r4P7DxX5e+cJrRnM37Tu3+n9zbEBInT3NdIjDS\nupF0FcpR2zyrFedrnnx98arVCjCft9rBkl368r37IdkG3iQjAMGAJmOSNBy5\neL30NfrCu9dmRCAzyz/5jPh3JnmBlOqx8s2ChAizbqx/dOH8cmuT60csb2GF\nUJd9\r\n=fw/+\r\n-----END PGP SIGNATURE-----\r\n","size":118473,"noattachment":false,"key":"/@ipld/dag-json/-/@ipld/dag-json-8.0.6.tgz"},"main":"index.js","type":"module","types":"./types/index.d.ts","exports":{"import":"./index.js"},"gitHead":"86614364f0a06caaafd5d5eb817576ad2c624e13","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.6_1639034574435_0.895467281525288","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":1639034574630,"_cnpm_publish_time":1639034574630,"dist-tags":{"latest":"11.0.1"}}