{"name":"interface-blockstore","version":"2.0.2","description":"An interface for storing and retrieving blocks","types":"dist/src/index.d.ts","scripts":{"build":"aegir build","lint":"aegir ts -p check && aegir lint","preleaseOnly":"npx json -I -f dist/package.json -e this.types='\"src/index.d.ts\"'","clean":"rimraf dist types"},"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":{"interface-store":"^2.0.1","multiformats":"^9.0.4"},"devDependencies":{"aegir":"^35.0.0","rimraf":"^3.0.2"},"gitHead":"4f99c21214ce9f1fb6f808c2fe69b5233ee5d31b","_id":"interface-blockstore@2.0.2","_nodeVersion":"16.8.0","_npmVersion":"lerna/4.0.0/node@v16.8.0+x64 (darwin)","dist":{"integrity":"sha512-2OonKanTF7xnlqe879EgYwv94e7jYO20dDMyqkDum7b9RnhdMkiLAOkeStlvxX1sZBLjcThyHzFTUYTK4ohKpg==","shasum":"106b5a7756394a0c250bae4f40431136c44836fe","tarball":"http://registry-npm.ywwl.com/interface-blockstore/download/interface-blockstore-2.0.2.tgz","fileCount":6,"unpackedSize":4963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOKysCRA9TVsSAnZWagAAaN8QAI8oLLPlYNIbK8t8mIna\nM7QUJYnK+ghVXBeuqekn4xxQMBML/O2D1ReJ14UFGwH+vYXi1OM1jJL6c3mB\nEIoSchc3qZBY8FEYIvWdYMaAiNk7pKybP3on2jdo4QYTSWVHMcLGLycEW+8H\nfh/ec9SEGDkfLlVIPAQdQ8aQnSQDtnj0QNpTlMhrEy3+jyM62iagZmdigoDS\nxF3t5/xxdbPhArPZAFwuFMSQHZJMWWbevewvEFRYLWZp3Sdx91WnTsGoBXBN\nyWEyxX2uVyyU5D/BqTXJ0jDBvrTGdmCH00v5lgPYO5SutAx/KuPnZk+El556\n6HAK8BPO2uTecvUP5MESdxrahfmBgjG/uepEdg3V35HyKavQ4K7rgF2bFF5w\nZYoNHoTpjHMyKU8vPLXKE3dJg8vYlhZWRSu3u7k7/d2MzrmdLnNIggnlBSXM\n4wQwI6Qdd98AJIlFGuPYKEoVGDSLGapVmGF1Ge/Y0TSOTp9OQjuXJAEbwDXb\nZ14iwTCJiIAIh8Gx7aUES2xjC6Bx2I/yYP0k4heY+9Nk17vDbgvOfjeOQ6LT\nkqol5pCpKV3rgw1cNTNhYSRwEMcaWjGVMYsgM75NMguaNH1L68bk+Bi7Hrqu\naOQYv0qbmWjTPLiVKQQjKwa0FRut+y7GM/0qMY2HYufTK9TieKByMXj+00Qt\nloge\r\n=tFDI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEgw7HTxg7pXvG1eQDI7zpHxwEyKFtk8qLsd1gNNkHQhAiEA7+7xX7J2PmIvNLXkmj1VX1H3r4B6ezsYzzlZKMaDSTI="}],"size":1845,"noattachment":false,"key":"/interface-blockstore/-/interface-blockstore-2.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_2.0.2_1631104172731_0.8567460901061374"},"_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":1631104172901,"_cnpm_publish_time":1631104172901,"dist-tags":{"latest":"7.0.1"}}