A decentralized SQL database that runs on IPFS, implementing SQL schema, data model, and query language. Currently at v1.2.18 in pre-alpha stage with heavy active development and frequent breaking changes. Not production-ready. Uses chunky-trees for ordered search indexes and IPLD for data structures. Supports CREATE/INSERT/UPDATE/SELECT with WHERE, ORDER BY, aggregation functions (MIN, MAX, COUNT, AVG, SUM), optional encryption, and DAG tables (JSON-like unstructured rows). Key differentiator: every operation produces deltas and proofs for replication as hash-linked blocks. Does NOT yet support full SQL (e.g., JOIN, GROUP BY, DELETE without WHERE, DATE types).
npm install ipsqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an in-memory or IPFS-based database, adds a table, inserts rows, and queries all rows.
Wait for stable release or pin a specific commit. Check changelog before upgrading.
Use 'DELETE FROM table_name WHERE ...' to delete specific rows.
Check the SQL feature checklist in README before writing queries.
Transition to using the Node API programmatically.
Use 'import IPSQL from 'ipsql' and then const db = await IPSQL.create(...);
Check the SQL feature checklist. JOIN is not yet implemented.
Add 'type': 'module' to package.json or use .mjs extension; replace require with import.