typicode / json-server
Get started
Taken from the repository's own files on 23 Oct 2026. RepoPilot has not run these commands.
Prerequisites
node >=22.12.0from package.jsonpnpm (root lockfile; version not captured)from pnpm-lock.yaml
Commands
package.json| Task | Run | What it runs |
|---|---|---|
| dev | pnpm run dev | node --watch --experimental-strip-types src/bin.ts fixtures/db.json |
| build | pnpm run build | rm -rf lib && tsc |
| test | pnpm run test | node --experimental-strip-types --test src/*.test.ts |
| lint | pnpm run lint | oxlint src |
| typecheck | pnpm run typecheck | tsc --noEmit |
Install and use
README.mdnpm install json-server