{"name":"@ipld/dag-json","version":"10.1.0","keywords":["ipfs","ipld","multiformats"],"author":{"url":"http://r.va.gg/","name":"Rod","email":"rod@vagg.org"},"license":"Apache-2.0 OR MIT","_id":"@ipld/dag-json@10.1.0","maintainers":[{"name":"npm-service-account-ipld","email":"npm-service-account+ipld@protocol.ai"},{"name":"lidel","email":"lidel@lidel.org"},{"name":"alanshaw","email":"alan138@gmail.com"},{"name":"vascosantos","email":"santos.vasco10@gmail.com"},{"name":"achingbrain","email":"alex@achingbrain.net"},{"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":"9cad1628d9ef6df0d732d2d468adb53987d1111d","tarball":"http://registry-npm.ywwl.com/@ipld/dag-json/download/@ipld/dag-json-10.1.0.tgz","fileCount":7,"integrity":"sha512-2rSvzDyGxx1NC24IsqKFTSXzAfUBlniZQRT15PEN+i177KEBsCXPfxuN/DweGIfmj3YceNyR8XOJT47pRZu7Cg==","signatures":[{"sig":"MEYCIQDP0maUH/CMhX75Dy3Oz9Qbgk++ew2Zuug0rv2dd7LluwIhAJdBp3UfJLGnfl/MiRux9G+eg91FHN9ZSDn5agVUf+MA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57790,"size":18118,"noattachment":false,"key":"/@ipld/dag-json/-/@ipld/dag-json-10.1.0.tgz"},"type":"module","types":"./dist/src/index.d.ts","engines":{"npm":">=7.0.0","node":">=16.0.0"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./src/index.js"}},"gitHead":"b9d0d3bfb61a2924ede3a82fb9f04d9b6dd1320c","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":"docs","release":"patch"},{"type":"test","release":"patch"},{"type":"deps","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":"Documentation"},{"type":"deps","section":"Dependencies"},{"type":"test","section":"Tests"}]}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github","@semantic-release/git"],"branches":["master"]},"scripts":{"lint":"aegir lint","test":"npm run lint && aegir test","build":"aegir build","clean":"aegir clean","release":"aegir release","test:ts":"npm run test --prefix test/ts-use","dep-check":"aegir dep-check","test:node":"aegir test -t node --cov","test:chrome":"aegir test -t browser --cov","test:firefox":"aegir test -t browser -- --browser firefox","test:electron-main":"aegir test -t electron-main","test:chrome-webworker":"aegir test -t webworker","test:firefox-webworker":"aegir test -t webworker -- --browser firefox"},"_npmUser":{"name":"npm-service-account-ipld","email":"npm-service-account+ipld@protocol.ai"},"repository":{"url":"git+https://github.com/ipld/js-dag-json.git","type":"git"},"_npmVersion":"8.19.4","description":"JS implementation of DAG-JSON","directories":{},"_nodeVersion":"18.16.0","dependencies":{"cborg":"^1.10.0","multiformats":"^11.0.0"},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"},"ignorePatterns":["test/ts-use"]},"typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"_hasShrinkwrap":false,"devDependencies":{"aegir":"^39.0.7","@ipld/garbage":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/dag-json_10.1.0_1684810298204_0.6516921034589458","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":1684810298387,"_cnpm_publish_time":1684810298387,"dist-tags":{"latest":"11.0.1"}}