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.12.1, knex 0.14.2, objection 0.9.4, orm 4.0.2 and sequelize 4.31.2.

bookshelf, A lightweight ORM for PostgreSQL, MySQL, and SQLite3. It was authored by Bookshelf 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. It was authored by Sascha Depold on May, 2011.

When comparing those packages you notice that sequelize is the more popular package today (12,722 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 5 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 45,971 points, knex got 236,692 points, objection got 20,604 points, orm got 8,313 points and sequelize got 511,498 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.12.1
NPM

knex
0.14.2
NPM

objection
0.9.4
NPM

orm
4.0.2
NPM

sequelize
4.31.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
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 Bookshelf Tim Griesser Sami Koskimäki Diogo Resende Sascha Depold
Related / similar packages
sql-bricks massive sql-bricks sql-bricks sql-bricks
Comparison
licenses MIT MIT MIT MIT MIT
created 5 years ago (Apr, 2013) 5 years ago (May, 2013) 6 years ago (Jun, 2012) 7 years ago (Mar, 2011) 7 years ago (May, 2011)
modified 8 days ago 10 days ago 3 days ago a day ago 2 days ago
total versions 73 119 79 86 318
version average every 24 days every 14 days every a month every a month every 8 days
maintainers 7 8 2 2 7
dependencies 7 18 3 9 17
Daily Downloads 2,443 15,137 1,145 347 24,821
Weekly Downloads 16,487 98,193 7,933 1,515 235,378
Monthly Downloads 58,596 341,262 25,184 5,022 725,494
open issues 253 446 19 228 305
open pull requests 27 22 3 19 26
stargazers 4,621 5,991 1,706 2,746 12,722
subscribers 108 176 49 112 376
forks 414 834 123 383 2,263
wiki
Points
Overall points

45,971

Points

236,692

Points

20,604

Points

8,313

Points

511,498

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

store