Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including ts-sequelize with all npm packages installed. Try it out:

var tsSequelize = require("ts-sequelize")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ts-sequelize v1.0.2

Multi dialect ORM for Node.JS on typescript


npm version Build Status Windows Build status codecov npm downloads node License semantic-release Greenkeeper badge

Improved version of Sequelize developed with typescript; based on Sequelize's V4 version. Independant version, no links with Sequelize anymore

ts-sequelize is a promise-based Node.js ORM for Postgres, MySQL, SQLite, Oracle and Microsoft SQL Server. It features solid transaction support, relations, read replication and more.


Table of Contents


$ npm install --save ts-sequelize

# And one of the following:
$ npm install --save pg@6 pg-hstore # Note that `pg@7` is not supported yet
$ npm install --save mysql2
$ npm install --save oracledb
$ npm install --save sqlite3
$ npm install --save tedious # MSSQL

Sequelize follows SEMVER. Supports Node v4 and above to use ES6 features.


  • Schema definition
  • Schema synchronization/dropping
  • 1:1, 1:M & N:M Associations
  • Through models
  • Promises
  • Hooks/callbacks/lifecycle events
  • Prefetching/association including
  • Transactions
  • Migrations
  • CLI (sequelize-cli)

Responsible disclosure

If you have any security issue to report, contact project maintainers privately. You can find contact information here


You can generate the documentation repository using "npm run docs" on the racine of the project We accept all contributions to this project





RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free