szokodiakos/typegoose
Typegoose - Define Mongoose models using TypeScript classes. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3456
- days_rel: n/a
- days_push: 1941
- n_releases_24m: 0
Adoption not part of the score
1209 stars · 130 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Typegoose is a TypeScript library that lets developers define Mongoose models using TypeScript classes with decorators, eliminating the need to maintain separate model and interface definitions. This original repository has been moved and is no longer maintained; development continues at hasezoey/typegoose.
Use cases
- define mongoose models with typescript classes
- avoid duplicating mongoose schemas and typescript interfaces
- get typed mongoose models for mongodb
- use decorators to define document schemas
- type-safe mongodb odm for node.js
When to choose
- you want type-safe Mongoose models defined from TypeScript classes
- you want to keep schema definitions and TypeScript types in sync automatically
- you are on the Mongoose 5 / Node 8+ stack and prefer decorator-based ODMs
When to avoid
- you need an actively maintained library - use the hasezoey/typegoose fork instead
- you use Mongoose 6+ or newer TypeScript versions
- you prefer defining schemas directly in Mongoose without decorators
Facets
library · maturity abandoned
orm database-driver serialization databases backend web-development developer-tools mongoose mongodb odm decorators type-safety moved-to-fork nodejs typescript
2 sources
- readme: https://github.com/szokodiakos/typegoose · fetched 2026-08-28 · cd3fa835365d
- registry_npm: https://registry.npmjs.org/typegoose · fetched 2026-08-29 · 2c88408a8266
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| szokodiakos/typegoose | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="szokodiakos/typegoose")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem