salsita/node-pg-migrate
Node.js database migration management for PostgreSQL observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 81
- Longevity 100
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: 31.0
- age_days: 4556
- days_rel: 47
- days_push: 7
- n_releases_24m: 11
Adoption not part of the score
1477 stars · 195 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
node-pg-migrate is a Node.js/TypeScript database migration tool built exclusively for PostgreSQL (also compatible with CockroachDB). It provides both a CLI and a programmatic API for defining up/down schema migrations in JavaScript or TypeScript.
Use cases
- manage postgresql schema migrations in node.js
- run up and down database migrations from the cli
- write migrations programmatically in typescript
- migrate cockroachdb schemas
- version control database schema changes
- create tables and alter schemas without raw sql
When to choose
- your stack is Node.js/TypeScript with PostgreSQL or CockroachDB
- you want a programmatic migration API instead of raw SQL files
- you need CLI support for creating and running up/down migrations
When to avoid
- you use MySQL, SQLite, or other non-PostgreSQL databases
- you need a language-agnostic migration tool usable outside Node.js
- you run an unsupported old PostgreSQL version (below 14)
Facets
library · maturity active
database cli developer-tools databases developer-tools backend cli cross-platform postgresql database-migrations schema-migration cockroachdb typescript sql nodejs
2 sources
- readme: https://github.com/salsita/node-pg-migrate · fetched 2026-08-28 · 780a8db552d1
- homepage: https://salsita.github.io/node-pg-migrate · fetched 2026-08-29 · 1e934165252b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| salsita/node-pg-migrate | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="salsita/node-pg-migrate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem