lowdb 7.x
Use lowdb v7's pure-ESM database API, distinguishing the v7 preset/update syntax from older v6 examples and choosing the correct Node or browser entry point.
- For
lowdb@7.0.1- Verified
- 2026-09-08, 2 examples executed
- Package
@modootoday/pmcp-lowdb@7.0.0
What it covers
- Version and module shape
- v7 lifecycle
- Async in-memory example
- Synchronous in-memory example
- Node JSON presets
- Custom serialization
- Browser adapters
- v6-to-v7 mistakes
- Not covered
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 { Low, Memory } from 'lowdb'
const db = new Low(new Memory(), { posts: [] as string[] })
await db.read()
await db.update(({ posts }) => posts.push('hello'))
assert.deepEqual(db.data, { posts: ['hello'] })
What it did in the sandbox
Verifying this skill meant installing the package and running code against it with no route out. This is what happened, quoted from the run. The full ledger lists every package examined, including the ones that never became a skill.
-
prepare: husky installthe package -
prepare: husky installthe package
Getting it
With a subscription:
npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-lowdb
It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.