{"name":"interface-blockstore","version":"1.0.1","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.1","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":"b4a251475df060773c9e3fd5218c95a92b6008b8","_id":"interface-blockstore@1.0.1","_nodeVersion":"16.6.1","_npmVersion":"lerna/4.0.0/node@v16.6.1+x64 (darwin)","dist":{"integrity":"sha512-OYo8QXdM1UgIxftFKBgD+yM6tvHbtPu7TTgTPJS4VXY4xBwOM2sJTH8Mhe/EOGJDLXc0D0mscmlWyEhc3GSiJA==","shasum":"5d78724c7217f464d3233a9170d8e5a5ab211697","tarball":"http://registry-npm.ywwl.com/interface-blockstore/download/interface-blockstore-1.0.1.tgz","fileCount":21,"unpackedSize":39287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhH8AfCRA9TVsSAnZWagAAjfkQAJ8REtuQqQEsrEBO0HE/\nnzAx0kxY0fPl/jFG/tUS3aM/yI0zukxDsRWcMkoHNE1ebTvZmWzjuaomAmeb\nOih1tpNsiIbmt4gekHfJYExROTIC3ZYrdBof7ngzQCxBQhhN0zGnDkT0Rdt+\ntGEXc65g3G0d1DxkGJMsuEzKWnj3Ds3Ez1b0aNt+6vOzz28PYOE6XfqEt/OA\naqo7Yc6wadgXvrO6G+IriRe+e2mZ5SFoZB5Pq7uqGcluoph1ovlHTMKxkSbz\n/klyflff04Juu3ZRIXE4Gz2CgIGJYnhvQghcxc6rJucdaEK9b1bYd6NcZMd0\nInWSrVHqrMi80yFrMbh2sWSnk1ew87K+4fs4FYz4G0p+cMFJ5T6zBmY8/00i\nJxv21i9gQ5dalhnq2/ogcMroquz+DisjOUmXKQMrfbP0nIMyvjckVpF/fgw7\nXSJWlsW8ukSVd5zYpXgUu8axzljZUS3gTTGJCjIkbt19qCY9QwKNv1ClsBU+\nDtPgjMA8Iyy5z4bkHULX5U7/cemvMo98COOvr7mMWpJbEOj+aVeOiB+grTxN\nnpPb+8qi10saFhGpXuzvcvy0HrNJHyF5zRI+vtYg+NIS53hd6KcOdUAxRrtp\ndL1tUm/1TFrMWoqDU8xGMcdKmRx71mmFemxkSRSvblAfAqyAiPFeOoSoQh34\nxCKW\r\n=eojx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGjhX7UQ2A2sVOPcIfj6k9mei99xsTQMl7Cic9Sq0rKAiA6pZ5XBbFJwlmpd6rpawZEs0P3D6jiL8dEGvWH+FgUzQ=="}],"size":12025,"noattachment":false,"key":"/interface-blockstore/-/interface-blockstore-1.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_1.0.1_1629470751412_0.13188208789007994"},"_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":1629470751587,"_cnpm_publish_time":1629470751587,"dist-tags":{"latest":"7.0.1"}}