{"name":"interface-blockstore","version":"4.0.1","description":"An interface for storing and retrieving blocks","license":"Apache-2.0 OR MIT","homepage":"https://github.com/ipfs/js-ipfs-interfaces/tree/master/packages/interface-blockstore#readme","repository":{"type":"git","url":"git+https://github.com/ipfs/js-ipfs-interfaces.git"},"bugs":{"url":"https://github.com/ipfs/js-ipfs-interfaces/issues"},"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"release":{"branches":["master"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"breaking":true,"release":"major"},{"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"]},"scripts":{"build":"aegir build","lint":"aegir lint","clean":"aegir clean","release":"aegir release"},"dependencies":{"interface-store":"^3.0.0","multiformats":"^11.0.0"},"devDependencies":{"aegir":"^38.1.0"},"typedoc":{"entryPoint":"./src/index.ts"},"gitHead":"e8d30c0131016d818c791754ffa587a7d3c13466","_id":"interface-blockstore@4.0.1","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-ROWKGJls7vLeFaQtI3hZVCJOkUoZ05xAi2t2qysM4d7dwVKrfm5jUOqWh8JgLL7Iup3XqJ0mKXXZuwJ3s03RSw==","shasum":"0dda1774d72ca7e990dc1921cfc524b3e9d1b9ca","tarball":"http://registry-npm.ywwl.com/interface-blockstore/download/interface-blockstore-4.0.1.tgz","fileCount":10,"unpackedSize":10257,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC68CYvEbMubqJtC/nILI/f82txEU2BB4w7G1Lcb1G69QIgVeouc92JEoEsiIZZCrpCmBr/INFLpuFiLQF0a17CPeQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2AQHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVbw//ZtwZxGfPRY0w4GoCeK+pTmYojEXGJweGFfvtNK2dPfzj3Tnk\r\ngx77xehjpz7yD2Gu0ZmKBsqeXwPtV2qhNdtLPJ1kbhhjv4Lp47dvIXeF5YNG\r\nN+qCGRb46tGy1otUaVneV6tY9OrLJeDRKg5rESYpHerNlGsJhuexQ02aRrCP\r\nLIn5Hd2zt4ugOsLFvIYfuezgMd4FblQFmxEPTvwSxgZ8yv6fD5KWR8C7gkt0\r\nt4uEq5y/nVT0wQIE1i/wSEHJ2VgSvlOZPcidMYqByBFV04641ZyXQQuz9e6N\r\nMgzkKSsn+Cl4PQIyygSsxurpsM09BubJqoNvZZkB+lKDudWemP2zbDVt262U\r\nGVY4wg3xawGedpIgjoDgk50koHHK3W2rpUcQuIvX4Yhfyj/4nYahj8uigzMT\r\nC3D5FKFxqM6OZwopB5/44naUF3xrXhfA4fqizaw1itUfjKU6k21zYbzaQdrD\r\n4YPgcyLPEh6RcWxM9fQTagHj+Jh9hfliY7fA8YO9fJOPsla2BlwL+xyUUfMS\r\nqKMbo352mwFbBAFOjxK8iuDo9MVyoGp7EAGXEhScIlMsEYUO1R+w41I2WXgj\r\nI+mo9QotuH6V8tJQDNNaJX96p8ytSi7L26kawIDRTfDAG5bjCe/mViHy2QgO\r\n1++JDc141L5/9ulzXUexGeGe1qmPxcyMuI4=\r\n=DaqO\r\n-----END PGP SIGNATURE-----\r\n","size":3134,"noattachment":false,"key":"/interface-blockstore/-/interface-blockstore-4.0.1.tgz"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interface-blockstore_4.0.1_1675101191321_0.6186915058149649"},"_hasShrinkwrap":false,"readme":"# interface-blockstore\n\n[![ipfs.tech](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.tech)\n[![Discuss](https://img.shields.io/discourse/https/discuss.ipfs.tech/posts.svg?style=flat-square)](https://discuss.ipfs.tech)\n[![codecov](https://img.shields.io/codecov/c/github/ipfs/js-stores.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-stores)\n[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/js-stores/js-test-and-release.yml?branch=main\\&style=flat-square)](https://github.com/ipfs/js-stores/actions/workflows/js-test-and-release.yml?query=branch%3Amain)\n\n> An interface for storing and retrieving blocks\n\n# About\n\nA Blockstore is a key/value database that lets use CIDs to store/retrieve binary blobs.\n\nIt is used by IPFS to store/retrieve the block that a given CID resolves to.\n\n## Implementations\n\n- File System: [`blockstore-fs`](https://github.com/ipfs/js-stores/tree/main/packages/blockstore-fs)\n- IndexedDB: [`blockstore-idb`](https://github.com/ipfs/js-stores/blob/main/packages/blockstore-idb)\n- level: [`blockstore-level`](https://github.com/ipfs/js-stores/tree/main/packages/blockstore-level) (supports any levelup compatible backend)\n- Memory: [`blockstore-core/memory`](https://github.com/ipfs/js-stores/blob/main/packages/blockstore-core/src/memory.ts)\n- S3: [`blockstore-s3`](https://github.com/ipfs/js-stores/tree/main/packages/blockstore-s3)\n\n# Install\n\n```console\n$ npm i interface-blockstore\n```\n\n# API Docs\n\n- <https://ipfs.github.io/js-stores/modules/interface_blockstore.html>\n\n# License\n\nLicensed under either of\n\n- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)\n- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)\n\n# Contribute\n\nContributions welcome! Please check out [the issues](https://github.com/ipfs/js-stores/issues).\n\nAlso see our [contributing document](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for more information on how we work, and about contributing in general.\n\nPlease be aware that all interactions related to this repo are subject to the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).\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\n[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md)\n","publish_time":1675101191526,"_cnpm_publish_time":1675101191526,"dist-tags":{"latest":"7.0.1"}}