{"name":"interface-blockstore","version":"0.0.3","description":"An interface for storing and retrieving blocks","main":"src/index.js","types":"dist/src/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"aegir ts -p check && aegir lint","build":"aegir build"},"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":"^0.0.2","multiformats":"^8.0.4"},"devDependencies":{"aegir":"^33.1.2"},"gitHead":"33020e403c81530df453dc2f7643fe7d79665f8b","_id":"interface-blockstore@0.0.3","_nodeVersion":"15.11.0","_npmVersion":"lerna/4.0.0/node@v15.11.0+x64 (darwin)","dist":{"integrity":"sha512-/VHUIm0N1lgv6lH0Z8dUMqUumQd8JUWnk2C6sG2gaky63uO5GPE36ZB3Vyq50dqDE4c0BETT9vre9AMaC7E/pA==","shasum":"a671a0cb25f1c56a1df14d55573fc4dc4a4c0ebe","tarball":"http://registry-npm.ywwl.com/interface-blockstore/download/interface-blockstore-0.0.3.tgz","fileCount":11,"unpackedSize":6272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnmWRCRA9TVsSAnZWagAA+mUP/3GXY0XdGXUVZ8UASbUS\nDlr+2/lSX43K7lJKSADnoTDM6wPM2Cvkgqlxm+3MFf+h+no5Prt3mOeLzDOc\nyauVNLMMvi7O4r4APcIxPAZRak9nLTyYbVnWfNDbhIRDR19hELLfcXYaYa4N\nS7m+ud84di/FkRk1dfJ0bbQW2Ok1BYuTnJZ3f7K1EVzJfq1BD9R84VH5aKLo\nOEm+PXJy3oRUqTS4w2bqgZvUJkRI5FKnGpkMUp3exKl1MogNxcXXJcMZgOjl\nz1rTEk+fv3RBA9s5yv32uF2b9l3liN5gF1rgBU2fevSETGBXNBIMxc1FA7eN\naphtjDJ+R7S/wjcbbQQRCVTYiQxbXLtOYywxMCLuwK+3n6NOvE0mEk4z46QV\nf0pcK2ScuSX33KkYHF/fvseoaFRQ9IG9iU3+YPcFOIBiLDs2/l9gQNOMXTts\nSse2T6cw0ON6RL2iUofCXx0JIgJ2kazSkSiZGQguhYbryVxKW+qf8TCleccX\n+dRhzNJofUBkXqdyaOMtcgJeUvGBc9F/ehIxKfl1akt8WqxTfc76EPZUcVDU\nfGvgfB0VtoHw3n8GXjGouGj6kT85+qtVTTlS56kWPA9UX/pvwid6ezCr4XqY\nPccSd/M6g2v35C5wUwT6HONgP7AzRObIWLSfNxWhRGxHSxnKtH14nWwGbAPp\nfB34\r\n=iDYe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHXLq7Nbae5jk8RlsVRQ6XIE91cJihIr+k9cwspvvLjRAiBEV3nURtvWL9pxThkx/X/QoOHm88m4izbeLO2UIEBU2A=="}],"size":2579,"noattachment":false,"key":"/interface-blockstore/-/interface-blockstore-0.0.3.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.0.3_1620993424775_0.2953257383501544"},"_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":1620993424913,"_cnpm_publish_time":1620993424913,"dist-tags":{"latest":"7.0.1"}}