pg-altergen

A Node.js CLI tool for managing PostgreSQL schema changes by organizing database objects in SQL files and generating ordered migration scripts with automatic dependency resolution.

topo-kahn

Topological sort (Kahn algorithm) an oriented graph containing any kind of node, using ES6 Maps & Sets.