Migration is a Node.js framework for managing database schema migrations using JavaScript files. It supports running migrations up or down to specific timestamps, and includes features like compiler support for JS preprocessors and environment flags. Based on TJ's node-migrate, it differentiates itself by using timestamps instead of sequence numbers, and supports custom compilers via the --compiler flag. Version 0.3.0 is stable with infrequent updates; compatible with Node >=0.8.0 and npm >=1.2.10. It stores migration state in a hidden file and is ideal for projects needing simple, file-based migration management.
npm install migrationNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to install, create a migration file with up/down functions, and run migrations via CLI.
Add '.migrate' to your .gitignore file.
Evaluate migration tools compatible with your database.
Use npx migrate or install globally with a specific name.
Create the migrations directory and run 'migrate up' to generate the state file automatically.
Install globally: npm install -g migration, or use npx: npx migrate up
No dependency data recorded yet.