monglue
v0.0.1-alpha.2
Published
A thin wrapper around MongoDB's official adapter for Node.js with type-safe joins.
Downloads
3
Maintainers
Readme
Monglue
A thin wrapper around MongoDB's official adapter for Node.js with type-safe joins. Very limited feature set and highly experimental, use under your own risk!
Installation
Use your favorite package manager:
pnpm add monglue
To do:
- [ ] A lot of collection methods (
aggregate
,deleteOne/deleteMany
, etc.) - [ ] Setting up CI/CD
- [ ] Documentation (typedoc? Docusaurus?)
Development
Run tests in watch mode:
pnpm test
Run tests with coverage reporting:
pnpm test:coverage
Run typechecking in watch mode:
pnpm test:types
Run and exit typechecking:
CI=true pnpm test:types
Lint and format:
pnpm lint
pnpm format