Compare

Comparing bookshelf vs. knex vs. objection vs. orm vs. sequelize

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.3, knex 0.12.7, objection 0.6.2, orm 3.2.3 and sequelize 3.30.2.

bookshelf, A lightweight ORM for PostgreSQL, MySQL, and SQLite3. It was authored by Tim Griesser 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 (8,912 Stars on Github).
knex has a bigger community of maintainers and more daily downloads.
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 weekly downloads, more monthly downloads, more stars on Github, more followers on Github and more forks.

In our review bookshelf got 51,941 points, knex got 155,510 points, objection got 8,712 points, orm got 7,615 points and sequelize got 202,266 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.

Going into more detail

 

bookshelf
0.10.3
NPM

knex
0.12.7
NPM

objection
0.6.2
NPM

orm
3.2.3
NPM

sequelize
3.30.2
NPM

description A lightweight ORM for PostgreSQL, MySQL, and SQLite3 A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser An SQL-friendly ORM for Node.js NodeJS Object-relational mapping Multi dialect ORM for Node.JS/io.js
keywords orm, mysql, postgresql, sqlite, datamapper, active record sql, query, postgresql, mysql, mariadb, sqlite3, oracle, mssql orm, knex, sql, query, postgresql, mysql, sqlite3 orm, odm, database, mysql, postgres, redshift, sqlite, mongodb mysql, sqlite, postgresql, postgres, mssql, orm, nodejs, object relational mapper
author Tim Griesser Tim Griesser Sami Koskimäki Diogo Resende Sascha Depold
Related / similar packages
asynquence, bluebird, hapi, co asynquence, bluebird, hapi, co active_record, asynquence, co, bluebird waterline, sql-bricks waterline, sql-bricks
Comparison
licenses MIT MIT MIT MIT MIT
created 4 years ago (Apr, 2013) 4 years ago (May, 2013) 5 years ago (Jun, 2012) 6 years ago (Mar, 2011) 6 years ago (May, 2011)
modified 8 days ago a day ago 25 days ago a month ago 6 days ago
total versions 68 113 47 82 187
version average every 21 days every 12 days every a month every a month every 11 days
maintainers 4 8 2 2 4
dependencies 7 18 4 7 16
Daily Downloads 1,803 5,255 254 196 4,262
Weekly Downloads 18,200 58,357 2,574 1,439 71,702
Monthly Downloads 71,669 232,914 9,604 4,868 302,027
open issues 453 464 45 214 833
open pull requests 30 30 8 19 30
stargazers 3,925 4,125 978 2,310 8,912
subscribers 102 138 37 104 292
forks 338 619 46 339 1,731
wiki
Points
Overall points

51,941

Points

155,510

Points

8,712

Points

7,615

Points

202,266

Points
CLI Shortcuts
install npm i -S bookshelf npm i -S knex npm i -S objection npm i -S orm npm i -S sequelize
remove npm r -S bookshelf npm r -S knex npm r -S objection npm r -S orm npm r -S sequelize

Share this with other developers