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.7, orm 3.2.4 and sequelize 4.6.0.

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.

knex has a bigger community of maintainers.
objection has less dependencies 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 and more monthly downloads.

In our review bookshelf got 54,521 points, knex got 206,563 points, objection got 11,603 points, orm got 7,527 points and sequelize got 378,636 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.7
NPM

orm
3.2.4
NPM

sequelize
4.6.0
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) 6 years ago (Mar, 2011) 6 years ago (May, 2011)
modified 17 days ago 10 days ago 2 days ago a month ago 18 hours ago
total versions 69 116 70 83 209
version average every 23 days every 14 days every a month every a month every 11 days
maintainers 4 8 2 2 7
dependencies 7 18 3 7 17
Daily Downloads 1,327 4,090 245 56 9,867
Weekly Downloads 17,013 74,598 5,016 1,238 160,408
Monthly Downloads 77,626 317,719 16,844 4,383 555,078
open issues 261 475 0 223 334
open pull requests 30 30 0 19 30
stargazers 4,305 5,091 0 2,600 10,864
subscribers 103 158 0 114 330
forks 385 730 0 359 2,020
wiki
Points
Overall points

54,521

Points

206,563

Points

11,603

Points

7,527

Points

378,636

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