sequelize

Multi dialect ORM for Node.JS

Usage no npm install needed!

<script type="module">
  import sequelize from 'https://cdn.skypack.dev/sequelize';
</script>

README

Sequelize

npm version Build Status npm downloads sponsor Merged PRs semantic-release

Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more.

Sequelize follows Semantic Versioning and supports Node v10 and above.

New to Sequelize? Take a look at the Tutorials and Guides. You might also be interested in the API Reference.

Would you like to contribute? Read our contribution guidelines to know more. There are many ways to help.

v6 Release

You can find the detailed changelog here.

Supporting the project

Do you like Sequelize and would like to give back to the engineering team behind it?

We have recently created an OpenCollective based money pool which is shared amongst all core maintainers based on their contributions. Every support is wholeheartedly welcome. ❤️

Installation

$ npm i sequelize # This will install v6

# And one of the following:
$ npm i pg pg-hstore # Postgres
$ npm i mysql2
$ npm i mariadb
$ npm i sqlite3
$ npm i tedious # Microsoft SQL Server

Documentation

Responsible disclosure

If you have security issues to report, please refer to our Responsible Disclosure Policy for more details.

Resources

Tools

Translations