truffle-latest-migration

JSON →
library 2.0.1 ·javascript
verified Jun 7, 2026

A CLI utility that returns the last migration ID Truffle has executed for a given network. Version 2.0.1 (latest, stable). It reads from the Truffle artifacts database (build/contracts/Migrations.json) and outputs the last migration number. Simple, single-purpose tool for Truffle developers who need to programmatically determine which migration was last run. No external dependencies beyond Node.js >=12.