{"name":"interface-blockstore","version":"3.0.0","description":"An interface for storing and retrieving blocks","license":"Apache-2.0 OR MIT","homepage":"https://github.com/ipfs/js-ipfs-interfaces/tree/master/packages/interface-blockstore#readme","repository":{"type":"git","url":"git+https://github.com/ipfs/js-ipfs-interfaces.git"},"bugs":{"url":"https://github.com/ipfs/js-ipfs-interfaces/issues"},"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"scripts":{"build":"aegir build","lint":"aegir lint","clean":"aegir clean","release":"aegir release"},"dependencies":{"interface-store":"^3.0.0","multiformats":"^9.1.0"},"devDependencies":{"aegir":"^37.5.0"},"gitHead":"79100b3fd4a7f88e18a09976e194e8461869b92f","_id":"interface-blockstore@3.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.17.0","dist":{"integrity":"sha512-D2f0/J4EK/if130XC5diOJLYBpz6PnEmHweQt8UxvSl3Ajf8WBuWZ6bN306GytQXoVNnYHd9PmSVKZTN3NXGWQ==","shasum":"bcc4cfa5cabad26288d31ce027c1ce03a21760e7","tarball":"http://registry-npm.ywwl.com/interface-blockstore/download/interface-blockstore-3.0.0.tgz","fileCount":8,"unpackedSize":6441,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICerQuES1WjcAjgUE4EWS7v96ZRs/5180Y8juAAsgyVzAiAUbRb302ASC5ETOSx6N5yv7B+WMyjkjgFnOss1SWL1+Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9g4MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoe/BAAjgksVrtXkJzpP2ELS3JsP7ZMEvKVtJpqyAvQ27eQydSawMPu\r\ncNoeOfkUAPlwZh1qd+0wBzbIHrd15uyamQQLerOJgmVaZBNgkUSD4ZWfxlq3\r\nQSGaaGaeri2j2TruvGoWGAIET4D8MoBc/mLAsRkEONxsgrimXV3CX4Diw2qo\r\nOrsmT/neKLzAx0BDBKrPNUTTBqYhGCEkWV17kjPLGEDX7HeyKHOb3XOXiUG6\r\n+mIdRrPA0MM7LwsgV8MsLLtxAjfvutzXpljFj4MrdPc622N49WgFtgTSDy1q\r\neKP0QbdEwSD/J0cEu6Kxqm87p5+BZtORM7G+TZVEU3lemGuXFHXHRwF53j0w\r\nTuylj9yESjhSR4X9+xdPSgYhbLrUmOorm1SenNTxGJ72QdNzafQQo/nnNhGs\r\ncdbkdhCGq9ynA2t2BBdVpZEb9cysLMSv/nf5PSXEWb55t/kJsyT32Q/pPYwB\r\nalSMJ2p0xGYFZRtVbHsGLiAKQSf1U4kJ2tU6PYfxTzYa7j+uuMcF5bGOMzU6\r\naV7tLfyMjZ5nTrkSZ9QMCagjCmr8DJEDf7Tc0l7KOG2YHLcxKa73I+hVojth\r\nkr7k2cgdSD02vMAgwwZp/voEaOmcyPOv6R+JtSRT9794YnfDNWzjKFz8n/A/\r\nXVntSaQMkdQGKuIKu6+Tu6b/OrxP/ocuZ7w=\r\n=7St5\r\n-----END PGP SIGNATURE-----\r\n","size":2099,"noattachment":false,"key":"/interface-blockstore/-/interface-blockstore-3.0.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_3.0.0_1660292620574_0.7799654208528148"},"_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":1660292620841,"_cnpm_publish_time":1660292620841,"dist-tags":{"latest":"7.0.1"}}