Bookshelf is a JavaScript ORM for Node.js, built on the Knex SQL query builder.
It is designed to work with PostgreSQL, MySQL, and SQLite3.
This is free and open source software.
Key Features
- Both Promise-based and traditional callback interfaces are supported.
- Transaction support.
- Eager/nested-eager relation loading,
- Polymorphic associations.
- Support for one-to-one, one-to-many, and many-to-many relations.
- Concise, literate codebase, Bookshelf is simple to read, understand, and extend. It doesn’t force you to use any specific validation scheme, and provides flexible, efficient relation/nested-relation loading and first-class transaction support.
- Lean object-relational mapper, allowing you to drop down to the raw Knex interface whenever you need a custom query that doesn’t quite fit with the stock convention
Website: bookshelfjs.org
Support: FAQ, GitHub Code Repository
Developer: Tim Griesser
License: MIT License
Bookshelf is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.
Related Software
| JavaScript Object-Relational Mapping Software | |
|---|---|
| Sequelize | Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and more |
| Drizzle | Lightweight, headless object-relational mapper |
| Objection.js | ORM for Node.js that aims to stay out of your way |
| Midnight | ORM for SQLite |
| Bookshelf | ORM for Node.js, built on the Knex SQL query builder |
| Orange ORM | Runs on Node.js, Bun and Deno, supporting CommonJS and ECMAScript mods |
| Sutando | Object-relational mapper for Node.js |
| Waterline | Adapter-based ORM for Node.js |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.