{"name":"@ipld/dag-json","version":"8.0.7","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.7","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":"d7e91dc1ab8141ec97075c52d87d78cb780daea1","tarball":"http://registry-npm.ywwl.com/@ipld/dag-json/download/@ipld/dag-json-8.0.7.tgz","fileCount":16,"integrity":"sha512-nG4hdl1V4GDKZ6Mumu2tL8zSpem/lRSVpQOd1uEovF+qPRkVnb06hsETy97J3kR0EjbZgge8m5AYtrab3DSREg==","signatures":[{"sig":"MEUCIQDaevmQC85pWzIP1pNvKhpslN267xf/B+qh8m1IywvITgIgXJtpMrYHPYlArEbHnUAPe4lEEZmFi0mY4Mgm17cyVbQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhssg9CRA9TVsSAnZWagAAzqoP/0huQF+A9UZgtnaPFqGr\nUJg1wWQDM5EALk3na1pKusZyr85cGOLX72A7+wB/N6ErL4V8oKIJWgeCh5YF\nH1LnQ1EnYSAB+7BRfTOa//PtbQt5QB/58709EBMjqSR46QqQGp8U3MBq+BRi\nfb/VYzWfdTESpftU0F5L9jwI32UfOWqKQRe/fYzfat4w3731F+N3zTHGXcy9\nOxDq7MBouDz3OlFWyavWXzMTjywHP7IKho+MnucTcxgdp+0lhRpx8pVDeops\nTOmC2rvIPSLrg2LaOxHUUIJeoJ0HIeNMawLtR4RmYNKtqlceHI6xufyUnehY\ncW1l9R7FlgRHdsRa1ZGQxLvbDVQEZtbVrZge97du/6iK4LsEHeuBGWqTb5Ro\nMBxREkiT9l+aRsAxzIW7y6bFc14bBlLLUV+tsqdfP8BDkBEmEjCm1DFfO9FA\nsK3O3lTciEPzNOOVZtztiWVgmMe/SAxWqzuMssF5LgHiHHIzX+Xz53I4Hu4W\nwpjPDJ4/0LV+YcGZubNjbWI4wpLEJSCOaxQoH+TIZjsZrtJ1/RYcKqvnGAX7\nU5JJpiXF/XqG4lSPd3/8iK9EVQ/JkWMUkPGNtaLbdwTab0KxHjKwKdXyqYpk\n/Evqfg7vGZtmspIvhkbBv7E6phym80SWRiJFmbbABvOyUMq7mxJSe1lAvL0A\n+Hh3\r\n=h8WE\r\n-----END PGP SIGNATURE-----\r\n","size":9653,"noattachment":false,"key":"/@ipld/dag-json/-/@ipld/dag-json-8.0.7.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"},"gitHead":"d06d72697135b1ad1325850a87a8e1a03e4e0b77","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":"rvagg","email":"r@va.gg"},"standard":{"ignore":["dist"]},"repository":{"url":"git+https://github.com/ipld/js-dag-json.git","type":"git"},"_npmVersion":"7.24.2","description":"JS implementation of DAG-JSON","directories":{"test":"test"},"_nodeVersion":"14.18.1","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.7_1639106620858_0.270365135988226","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":1639106621075,"_cnpm_publish_time":1639106621075,"dist-tags":{"latest":"11.0.1"}}