# Sequelize [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/sequelize/sequelize/trend.png)](https://bitdeli.com/free "Bitdeli Badge") [![Build Status](https://secure.travis-ci.org/sequelize/sequelize.png)](http://travis-ci.org/sequelize/sequelize) [![Dependency Status](https://david-dm.org/sequelize/sequelize.png)](https://david-dm.org/sequelize/sequelize) [![Flattr this](http://api.flattr.com/button/flattr-badge-large.png)](http://flattr.com/thing/1259407/Sequelize) # MySQL, MariaDB, PostgresSQL, and SQLite Object Relational Mapper (ORM) for [node](http://nodejs.org). ### Install To install 1.x.x (currently 1.7.x) - which has a stable API and is mostly backwards compatible: `npm install sequelize` To install 2.x.x branch - which has a unstable API and will break backwards compatability: `npm install sequelize@unstable` ### Features - Schema definition - Schema synchronization/dropping - 1:1, 1:M & N:M Associations - Through models - Promises - Hooks/callbacks/lifecycle events - Prefetching/association including ### Resources - [Changelog](https://github.com/sequelize/sequelize/blob/master/changelog.md) - [Getting Started](http://sequelizejs.com/articles/getting-started) - [Documentation](http://sequelizejs.com/docs) - [API Reference](https://github.com/sequelize/sequelize/wiki/API-Reference) *Work in progress* - [Changelog](https://github.com/sequelize/sequelize/blob/master/changelog.md) - [Collaboration and pull requests](https://github.com/sequelize/sequelize/wiki/Collaboration) - [Roadmap](https://github.com/sequelize/sequelize/wiki/Roadmap) - [Meetups](https://github.com/sequelize/sequelize/wiki/Meetups) - [Twitter](http://twitter.com/sdepold) - [IRC](http://webchat.freenode.net?channels=sequelizejs) - [Google Groups](https://groups.google.com/forum/#!forum/sequelize) ## Running Examples Instructions for running samples are located in the [example directory](https://github.com/sequelize/sequelize/tree/master/examples). Try these samples in a live sandbox environment: