Service adapter for using Sequelize ORM with Feathers.js. Current stable version: 7.0.3. Released as part of the Feathers.js ecosystem, it follows the major version releases of Feathers core. Key differentiator: provides a seamless integration between Feathers services and SQL databases via Sequelize, supporting MySQL, PostgreSQL, SQLite, MariaDB, and MSSQL. It automatically handles CRUD operations, pagination, query operators, and includes/populate, while allowing access to raw Sequelize model instances. Ships TypeScript definitions. Requires Feathers.js v5 (Dove) or later.
npm install feathers-sequelizeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a Feathers app, define a Sequelize model, and register a service with pagination.
Update to @feathersjs/feathers@5 and sequelize@6 or later.
Switch to ES module imports or use dynamic import().
Call model.sync() before app.listen().
Set { raw: true } in service options or retrieve the items manually.Define associations on the Sequelize model after creation before using it in service.
Run npm install feathers-sequelize and ensure correct import: import { sequelize } from 'feathers-sequelize'.Create app: const app = feathers(); then call app.use('messages', sequelize(...)).Add await messageModel.sync() before starting the server.
Use import { SequelizeService } from 'feathers-sequelize'; instead of from a subpath.