A command-line interface for Sequelize ORM with support for EcmaScript Modules (ESM). Version 5.0.6 provides commands for database migrations, seeding, model generation, and schema management. Built as a drop-in replacement for sequelize-cli with ESM compatibility. Maintained as a community fork. Active development but pace is moderate; primarily targets Node.js projects using ESM modules with Sequelize.
npm install sequelize-cli-esmNo compatibility data collected yet for this library.
Shows global and local installation, project initialization, model generation, migration, and seeding commands.
Consider migrating to official @sequelize/cli package for long-term support and recent Sequelize compatibility.
Use CommonJS (.cjs) config files if issues arise with .js files; ensure package.json has 'type: module' when using ESM.
Use export default or module.exports in config file based on project type.
Ensure sequelize is listed in dependencies or devDependencies.
Run npm install sequelize or yarn add sequelize
Add 'type': 'module' to package.json or rename file to .mjs
Install globally: npm install -g sequelize-cli-esm; or use npx sequelize-cli-esm
Add 'dialect': 'postgres' (or mysql/sqlite/mssql) to config