{"library":"hyperdb","type":"library","category":null,"description":"Hyperdb is a JavaScript library providing a database layer designed for both peer-to-peer (P2P) and local-only data storage, leveraging the Holepunch (formerly Hypercore Protocol) ecosystem. As of version 6.6.0, it offers a schema-driven approach to defining data structures, collections, and indexes using the `Hyperschema` and `hyperdb/builder` tools. It differentiates itself by allowing developers to choose between a P2P backend (Hyperbee) for distributed, eventually consistent data, or a local, embedded database backend (RocksDB) for high-performance, single-instance storage. The project appears to be actively maintained, aligning with the broader Holepunch initiative, though a strict release cadence isn't published. Key features include declarative schema and index definitions, streaming queries, and both synchronous (`await db.get`) and asynchronous (`db.find().toArray()`) data access patterns.","language":"javascript","status":"active","version":"6.6.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install hyperdb","imports":["import HyperDB from 'hyperdb'","import HyperDBBuilder from 'hyperdb/builder'","import def from './spec/hyperdb/index.js'"]},{"cmd":"yarn add hyperdb","imports":[]},{"cmd":"pnpm add hyperdb","imports":[]}],"homepage":null,"github":"https://github.com/holepunchto/hyperdb","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/hyperdb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/hyperdb/compatibility"}}