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.4, knex 0.13.0, objection 0.8.9, orm 4.0.1 and sequelize 4.15.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 (11,641 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 49,353 points, knex got 216,823 points, objection got 15,270 points, orm got 8,998 points and sequelize got 467,520 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.4
NPM

knex
0.13.0
NPM

objection
0.8.9
NPM

orm
4.0.1
NPM

sequelize
4.15.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 pg-promise sql-bricks sql-bricks 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) 7 years ago (Mar, 2011) 6 years ago (May, 2011)
modified 18 days ago a month ago 3 days ago 5 days ago 15 hours ago
total versions 69 116 72 85 256
version average every 24 days every 14 days every a month every a month every 9 days
maintainers 4 8 2 2 7
dependencies 7 18 3 9 17
Daily Downloads 700 3,914 242 86 22,597
Weekly Downloads 15,667 78,615 4,854 1,777 156,706
Monthly Downloads 69,005 333,607 19,024 6,587 721,555
open issues 271 475 24 228 271
open pull requests 30 30 2 19 24
stargazers 4,418 5,448 1,505 2,664 11,641
subscribers 108 167 48 113 352
forks 396 760 97 371 2,118
wiki
Points
Overall points

49,353

Points

216,823

Points

15,270

Points

8,998

Points

467,520

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