How are they different?
Here we compare between bookshelf, knex, objection, orm and sequelize. In this comparison we will focus on the latest versions of those packages. The current versions are bookshelf 0.10.2, knex 0.12.6, objection 0.6.2, orm 3.2.3 and sequelize 3.29.0.
A lightweight ORM for PostgreSQL, MySQL, and SQLite3.
It was authored
on Apr, 2013.
knex, A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser. It was authored by Tim Griesser on May, 2013.
objection, An SQL-friendly ORM for Node.js. It was authored by Sami Koskimäki on Jun, 2012.
orm, NodeJS Object-relational mapping. It was authored by Diogo Resende on Mar, 2011.
sequelize, Multi dialect ORM for Node.JS/io.js. It was authored by Sascha Depold on May, 2011.
When comparing those packages you notice that
sequelize is the more popular package today
Stars on Github).
knex has a bigger community of maintainers.
objection has less dependencies, less open issues and less open pull requests.
orm has been out there for longer (since 4 years ago), it also sequelize has more versions, more frequent updates, more daily downloads, more weekly downloads, more monthly downloads, more stars on Github, more followers on Github and more forks.
In our review bookshelf got 39,820 points, knex got 124,221 points, objection got 7,651 points, orm got 6,939 points and sequelize got 142,187 points. The points are a summary of how big the community is and how well the package is maintained.
Lets dive deeper and have a look at some more details on those packages.