{"name":"interface-blockstore","version":"0.2.0","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"},"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":"^0.1.0","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":"^33.1.2"},"gitHead":"05e30725cfe5161dbdcdcaacc18b7820108dddcf","_id":"interface-blockstore@0.2.0","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (darwin)","dist":{"integrity":"sha512-990StXQb/y0S9L41AwdhHc2S/C7h2fYvLO+uaBfthE6XfEBLx5KtMYJ0X+NRvRBupGBeSXwydTBqJwx9N/+Jdg==","shasum":"b8af572b5bcc2e97a05191b0d7cd91d3a56c3a1e","tarball":"http://registry-npm.ywwl.com/interface-blockstore/download/interface-blockstore-0.2.0.tgz","fileCount":21,"unpackedSize":38076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3I55CRA9TVsSAnZWagAAKjcP/2lM4AxUDCykB+T0BW2f\n70LpqEkM7DyQpQoSIud5d7cPwbntQExw+LSDy6P3a/sDm4xdexV9jOSZbdo+\nOHZv2qsYIW6npXLmrcQET76Cykeb73tEiuA66UZyfKVv+PJXbM9ew86GAEc5\nASdFz7/Wk3eh5RG4Vwky/7CY3yYh3ZJtU2JSk91k9hmYpa3Utoc8zOn/odlM\nTkmr2soPnLHex38y3ksVjckiqO/QUbg9jMwvIkzC67iE3GbTTEQmLtJaa6DB\n3pHRaF65Ths6F81vYYKInmfv0nCbGJyZAzeyX5Rspcb4v14E/YqpGNaQUpV2\nL9crGV6uw4OkE7GMJe/JMi/ADJnZFgtGOik4InSjbWUiU/4SFXNiJVtumyyg\nPR8XGlxGh4p/Fxv0tvUWJp39fUL/l7I3grTmLrdeEcwhh5nNFsTOnCA66gZJ\ne3MccNkW9nyV4vfBB1IHaembry6/aKRlKCmwpXi6YJjlxQjW3uJYDwmjb3Nc\nQ6w5TZTtNzFu9vSuPglpQcuAayhOQ1Yq1OaIj0fT/zT/OBKSTLdsJ7kr8C2x\nUKLCbBfXfyhDlofFrU6LHhrgeIK7ziNXHIb79IDC6tF2LlF1E3GjExpplW6a\nO1w4qOwOyF9cmoonB3832LFX0gEer2P92tjC5ws7sajxL8i0Cvj5pSSlYPBt\n57sL\r\n=y/Nt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfTd1aNIKWXG6p556G06ZeVKGzPvkpTRtxKIRp4j/8IQIhAJl9TYiFx7c4Ez5p0HVdalYQPjPmR3u5Af8p1S2T9y7N"}],"size":11775,"noattachment":false,"key":"/interface-blockstore/-/interface-blockstore-0.2.0.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_0.2.0_1625067129330_0.8085027981952195"},"_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":1625067129473,"_cnpm_publish_time":1625067129473,"dist-tags":{"latest":"7.0.1"}}