bookshelf.js: Detailed Overview & Metrics

v1.2.0(over 4 years ago)

This package was last published over a year ago. It may not be actively maintained.Types definitions are provided via a separate npm package: @types/bookshelfNumber of direct dependencies: 4Monthly npm downloads

Bookshelf is a JavaScript ORM (Object-Relational Mapping) library for Node.js, built on top of the Knex SQL query builder. It provides a simple and elegant way to interact with databases by mapping database tables to JavaScript objects. Bookshelf supports various database systems like MySQL, PostgreSQL, SQLite, and others, making it versatile for different project requirements.

Compared to other ORM libraries like Sequelize and TypeORM, Bookshelf is known for its lightweight and minimalistic approach, focusing on simplicity and ease of use. It offers features like model lifecycle events, eager loading of relationships, and plugin support for extending functionality.

Alternatives: sequelize, TypeORM, Waterline

Tags: javascriptORMNode.jsdatabaseSQL