jsonl-db

Installation
SKILL.md

jsonl-db

Git-tracked event bus and task store. One JSON object per line; append-only by default; GC compacts resolved entries to an archive file. At <100k rows all operations complete in <1s.

Quick start

import { JsonlDb } from './lib/jsonl-db'

const db = new JsonlDb('tasks.jsonl')
await db.append({ id: 'evt_01', type: 'task.created', status: 'open', ts: Date.now(), payload: {} })
const open = await db.query(e => e.status === 'open')
await db.update('evt_01', { status: 'resolved' })
await db.gc(e => e.status === 'resolved', 'archive.jsonl')

Event schema convention

Installs
5
First Seen
Jun 30, 2026
jsonl-db — a-canary/arc-skills