{"name":"interface-blockstore","version":"1.0.2","description":"An interface for storing and retrieving blocks","main":"src/index.js","types":"dist/src/index.d.ts","scripts":{"build":"aegir build","test":"echo \"No tests configured\"","lint":"aegir ts -p check && aegir lint","dep-check":"aegir dep-check"},"license":"(Apache-2.0 OR MIT)","homepage":"https://github.com/ipfs/js-ipfs-interfaces/tree/master/packages/interface-blockstore#readme","bugs":{"url":"https://github.com/ipfs/js-ipfs-interfaces/issues"},"repository":{"type":"git","url":"git+https://github.com/ipfs/js-ipfs-interfaces.git"},"dependencies":{"err-code":"^3.0.1","interface-store":"^1.0.2","it-all":"^1.0.5","it-drain":"^1.0.4","it-filter":"^1.0.2","it-take":"^1.0.1","multiformats":"^9.0.4"},"devDependencies":{"aegir":"^35.0.0"},"gitHead":"f5d59e8f70f72a5900504ef4c4cd7af2b69cb7fb","_id":"interface-blockstore@1.0.2","_nodeVersion":"16.8.0","_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (darwin)","dist":{"integrity":"sha512-e8rHqaBSOsBPpSaB+wwVa9mR5ntU+t1yzXpOFC16cSKCNsV+h6n8SjekPQcdODVBN2h8t45CsOqRAnUfm1guEw==","shasum":"adf35659ac073ffecf33615e051cf7f38ee32626","tarball":"http://registry-npm.ywwl.com/interface-blockstore/download/interface-blockstore-1.0.2.tgz","fileCount":22,"unpackedSize":40640,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMNmDCRA9TVsSAnZWagAAr08P+wfrydpLKpLW9NumT8W6\nq3Ia8lqYUStrwbGNYHI3qSeSr8dXJwCdkxwoHjwpoOEkbyrsyuk6FIlGGzhV\nMMoJl6xqAI+O/aGpVU8aIJeouCXbTE5cjtZkMIKGo7TOLzhemYID1piVcARp\nNNmTwQNCu3Yr4bnqc/L7D7didB9gQg8weXMXDl2SL5Sd0MmlSrJy2DfSCz3b\nJFM0mhdDSm9/KHcf8W2syyYmY4kGHYbf6Drl/GbMibEivathhjNcPscbZySG\nBiy7L7a4cy9ywAV3uV+olHp25DlEV8B0q+3TrNQgzAAEWGQotZZ1DaP7jnES\nFERHFgKHT0qzK1acqVhWVGVowJqngGQ8JGVHiIND27uZvePJqdlBjnVYshcL\nfdEv0WnOBnG4zYEE+M2mOsU9bJx/akdNQpU1Q+STWoDY7UkBUoHzsyTYwP4w\ncgGvqIWWgefEumX55cKZt9erpuUj2ExLimST4YTZpdu4pGkjRE+omxeqtiHZ\nCYO9XgsVDtiKqntc4PDJoQ80e6jYSP1Jqsz67Hsungr1uyfIPzrgNz3OnHUL\nRFhgXNiLjKKKPQvORVJJyyHn8feaGGmzAbLMLJDwh34u/MGg/yqNal6L5UHj\nDewzrfPuwM1zIioYXykDTMKuNTIEGYPCuT+utVh47sQMycAhVjYoeOX4R80J\njysI\r\n=K4Wz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB3jZIUUXtNW7ac0ulvkLZj84wN/Ua/XPyRg/jVO8fUKAiAbjIOFGznGdae8EGDaalfo6wNovKh/WPUKvy1Xxv+emQ=="}],"size":12524,"noattachment":false,"key":"/interface-blockstore/-/interface-blockstore-1.0.2.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_1.0.2_1630591363685_0.6879003288951915"},"_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":1630591363890,"_cnpm_publish_time":1630591363890,"dist-tags":{"latest":"7.0.1"}}