{"library":"ssb-db2","type":"library","category":null,"description":"SSB-DB2 is a new database for secure-scuttlebutt, designed as a replacement for the older `ssb-db`. Currently at version 8.1.0, it offers significant architectural changes aimed at improving performance and flexibility. Key differentiators include using `bipf` for data storage, replacing `flume` with `jitdb` for specialized indexes, supporting browser environments via `ssb-browser-core`, and enabling efficient partial replication. It has expanded capabilities beyond `ssb-db`, featuring deletion and compaction, support for customizable feed and encryption formats (defaulting to `ssb-classic`), and a powerful query language based on composable JavaScript functions. SSB-DB2 operates as a `secret-stack` plugin, registering within the `db` namespace, and is optimized for modern Node.js environments (>=16).","language":"javascript","status":"active","version":"8.1.0","tags":["javascript"],"install":[{"cmd":"npm install ssb-db2","imports":["import SecretStack from 'secret-stack'","import ssbdb2 from 'ssb-db2'","import { where, and, type, author, toCallback } from 'ssb-db2/operators'"]},{"cmd":"yarn add ssb-db2","imports":[]},{"cmd":"pnpm add ssb-db2","imports":[]}],"homepage":null,"github":"https://github.com/ssb-ngi-pointer/ssb-db2","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ssb-db2","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/ssb-db2/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}