dexie 4.x
Use Dexie 4.x for typed IndexedDB databases, table access, and reactive queries. Covers the Dexie/EntityTable TypeScript shapes, schema setup, liveQuery, and the boundary between standalone Dexie and dexie-cloud.
- For
dexie@4.4.5- Verified
- 2026-09-08, 3 examples executed
- Package
@modootoday/pmcp-dexie@4.0.0
What it covers
- Use this when
- Core database setup
- TypeScript table shapes
- Reactive queries with `liveQuery`
- Cloud boundary
- Runnable checks
- Named and default exports, versioned stores, and `table()`
- `liveQuery` is a named export
- TypeScript entity declaration shape
- What this skill does not cover
One example from this skill
This is the skill's own text, not a summary of it. It runs: that is what verifying means here.
import assert from "node:assert/strict";
import DexieDefault, { Dexie } from "dexie";
assert.equal(DexieDefault, Dexie);
const db = new Dexie("DexieSkillCore");
db.version(1).stores({
friends: "++id, name, age",
pets: "++id, name, kind",
});
const friends = db.table("friends");
assert.equal(friends.name, "friends");
assert.deepEqual(
db.tables.map((table) => table.name).sort(),
["friends", "pets"],
);
What it did in the sandbox
Verifying this skill meant installing the package and running code against it with no route out. Nothing was observed. The full ledger lists every package examined, including the ones that never became a skill.
Nothing observed is not a finding of safety. It means one run, under one policy, produced nothing to report.
Getting it
With a subscription:
npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-dexie
It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.