https://github.com/phaux/idbts
Typed IndexedDB wrapper
https://github.com/phaux/idbts
database indexeddb offline
Last synced: 4 days ago
JSON representation
Typed IndexedDB wrapper
- Host: GitHub
- URL: https://github.com/phaux/idbts
- Owner: phaux
- Created: 2026-06-10T13:00:44.000Z (27 days ago)
- Default Branch: main
- Last Pushed: 2026-07-01T20:22:29.000Z (6 days ago)
- Last Synced: 2026-07-03T12:38:26.416Z (4 days ago)
- Topics: database, indexeddb, offline
- Language: TypeScript
- Homepage:
- Size: 260 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# idbts
Strongly-typed IndexedDB with expressive queries and live updates.
This project is a monorepo. It contains the following packages:
| package | description |
| -------------------------------------- | ------------------------------------------------ |
| [idbts](./idbts/README.md) | Core library — Database, mutations, live queries |
| [idbts-react](./idbts-react/README.md) | React adapter — `useDBQuery` hook |
## Developing
Run any of these in the project root or individual package directories:
- `npm run format` – Format code with Prettier.
- `npm run check` – Run type checks with TypeScript noEmit mode.
- `npm run lint` – Lint code with ESLint.
- `npm test` – Run tests and generate coverage report with Node test runner.
- `npm run prepare` – Build all packages using TypeScript compiler.