A thin wrapper around Sequelize v3 that implements the node-bits database contract for SQL databases (PostgreSQL, MySQL, SQLite, MSSQL). Version 0.0.66 (latest, no recent updates) provides schema-based model definition, migration management, seed data injection, and hooks for lifecycle events. Unlike raw Sequelize, it integrates with the node-bits ecosystem of modular bits, but it is not actively maintained and lacks TypeScript definitions.
npm install node-bits-sqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows common initialization: create Sequelize instance, pass to nodeBitsSql configuration with migrations and seeds enabled, attach a hook.
Use Sequelize v3 (sequelize@^3.0.0) or consider migrating to a modern alternative.
Seek alternatives like direct Sequelize use or other ORM wrappers.
Ensure seed files match the current schema structure exactly.
Set only one of these to true; never use forceSync in production.
Wrap your Sequelize instance in a function: connection: () => sequelize
npm install sequelize@^3.0.0
Use: const nodeBitsSql = require('node-bits-sql');Wrap in function: connection: () => sequelize
Set only one to true, preferably runMigrations in production