Bookshelf.js logo


Aims to provide a simple library for common tasks when querying databases in JavaScript
+ 1

What is Bookshelf.js?

It stems from the Knex.js, which is a flexible query builder that works with PostgreSQL, MySQL and SQLite3. Bookshelf.js builds on top of this by providing functionality for creating data models, forming relations between these models, and other common tasks needed when querying a database.
Bookshelf.js is a tool in the Object Relational Mapper (ORM) category of a tech stack.
Bookshelf.js is an open source tool with GitHub stars and GitHub forks. Here’s a link to Bookshelf.js's open source repository on GitHub

Who uses Bookshelf.js?

3 companies reportedly use Bookshelf.js in their tech stacks, including Backend, Lob API, and


Bookshelf.js Integrations

JavaScript, Node.js, MySQL, MongoDB, and SQLite are some of the popular tools that integrate with Bookshelf.js. Here's a list of all 6 tools that integrate with Bookshelf.js.
Pros of Bookshelf.js
Uses both promises and callback methods

Bookshelf.js's Features

  • Table creation
  • Manipulation
  • Promise-based and traditional callback interfaces
  • Transaction

Bookshelf.js Alternatives & Comparisons

What are some alternatives to Bookshelf.js?
It aims to stay out of your way and make it as easy as possible to use the full power of SQL and the underlying database engine while still making the common stuff easy and enjoyable.
Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
Entity Framework Core
It is a lightweight, extensible, open source and cross-platform version of the popular Entity Framework data access technology. It can serve as an object-relational mapper (O/RM), enabling .NET developers to work with a database using .NET objects, and eliminating the need for most of the data-access code they usually need to write.
See all alternatives

Bookshelf.js's Followers
18 developers follow Bookshelf.js to keep up with related blogs and decisions.