{"name":"datastore-idb","version":"3.0.0","keywords":["browser","datastore","idb","interface","ipfs","key-value"],"author":{"name":"Hugo Dias","email":"hugomrdias@gmail.com"},"license":"Apache-2.0 OR MIT","_id":"datastore-idb@3.0.0","maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"npm-service-account-ipfs","email":"npm-service-account+ipfs@ipfs.tech"}],"homepage":"https://github.com/ipfs/js-stores/tree/main/packages/datastore-idb#readme","bugs":{"url":"https://github.com/ipfs/js-stores/issues"},"dist":{"shasum":"69e8f00826def9925548412000dc8f735ad76e91","tarball":"http://registry-npm.ywwl.com/datastore-idb/download/datastore-idb-3.0.0.tgz","fileCount":10,"integrity":"sha512-b/7bN11HKns2nnoKezFP1b7hFCqNvqDpByhHo2mNvwE0vajDg9ygaZlsOTiUTDoSymD5KSLTnkt0Tsghj3CCiQ==","signatures":[{"sig":"MEUCIEgA2UeILofNtY2B8V8R3XriUuDxXjqEnqdhdkpmwd38AiEAhXTVKcB5KBo6s0qoEd20GXfuGVf2GMOimXLSc5THx8M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/datastore-idb@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":61796,"size":19058,"noattachment":false,"key":"/datastore-idb/-/datastore-idb-3.0.0.tgz"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"gitHead":"cc9272215453b23b72cec2e43f8de7f18d2ff703","scripts":{"lint":"aegir lint","test":"aegir test -t browser -t webworker","build":"aegir build","release":"aegir release","dep-check":"aegir dep-check","test:browser":"aegir test -t browser","test:webworker":"aegir test -t webworker"},"_npmUser":{"name":"npm-service-account-ipfs","email":"npm-service-account+ipfs@ipfs.tech"},"repository":{"url":"git+https://github.com/ipfs/js-stores.git","type":"git"},"_npmVersion":"10.8.2","description":"Datastore implementation with IndexedDB backend.","directories":{},"_nodeVersion":"20.16.0","dependencies":{"idb":"^8.0.0","it-sort":"^3.0.4","it-filter":"^3.0.4","datastore-core":"10.0.0","interface-store":"6.0.0","interface-datastore":"^8.0.0"},"eslintConfig":{"extends":"ipfs","parserOptions":{"project":["tsconfig.json","benchmarks/datastore-level/tsconfig.json"],"sourceType":"module"}},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"aegir":"^42.2.3","interface-datastore-tests":"6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/datastore-idb_3.0.0_1722618409123_0.937416488154426","host":"s3://npm-registry-packages"},"readme":"# datastore-idb\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> Datastore implementation with IndexedDB backend.\n\n# About\n\n<!--\n\n!IMPORTANT!\n\nEverything in this README between \"# About\" and \"# Install\" is automatically\ngenerated and will be overwritten the next time the doc generator is run.\n\nTo make changes to this section, please update the @packageDocumentation section\nof src/index.js or src/index.ts\n\nTo experiment with formatting, please run \"npm run docs\" from the root of this\nrepo and examine the changes made.\n\n-->\n\nA Datastore implementation for browsers that stores data in [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API).\n\n## Example\n\n```js\nimport { IDBDatastore } from 'datastore-idb'\n\nconst store = new IDBDatastore('path/to/store')\n```\n\n# Install\n\n```console\n$ npm i datastore-idb\n```\n\n## Browser `<script>` tag\n\nLoading this module through a script tag will make its exports available as `DatastoreIdb` in the global namespace.\n\n```html\n<script src=\"https://unpkg.com/datastore-idb/dist/index.min.js\"></script>\n```\n\n# API Docs\n\n- <https://ipfs.github.io/js-stores/modules/datastore-idb.html>\n\n# License\n\nLicensed under either of\n\n- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/datastore-idb/LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)\n- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/datastore-idb/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":1722618409280,"_cnpm_publish_time":1722618409280,"dist-tags":{"latest":"5.0.1"}}