{"adoption": {"forks": 574, "observed_at": "2026-08-28T04:09:42.716774+00:00", "stars": 6347}, "canonical_url": "https://ross.abutalabs.com/products/bookshelf", "card": {"archived": false, "artifact_type": "library", "description": "A simple Node.js ORM for PostgreSQL, MySQL and SQLite3 built on top of Knex.js", "domain": ["databases", "backend", "web-development", "developer-tools"], "enriched": true, "function": ["orm", "database-driver", "database"], "health_score": 20, "homepage": "http://bookshelfjs.org", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["bookshelf/bookshelf"], "name": "bookshelf/bookshelf", "platform": [], "pushed_at": "2024-08-10T14:12:20+00:00", "repo": "bookshelf/bookshelf", "stars": 6347, "tags": ["knex", "sql", "postgresql", "mysql", "sqlite", "data-mapper", "active-record", "query-builder", "nodejs", "javascript"], "topics": ["bookshelf", "javascript", "database", "mysql", "postgresql", "sqlite", "nodejs", "orm"], "urls": [], "use_cases": ["map JavaScript models to relational database tables in Node.js", "define one-to-one, one-to-many, and many-to-many relations between models", "run database transactions with rollback support", "eagerly load nested relations to avoid N+1 queries", "drop down to raw Knex queries for custom SQL", "work with PostgreSQL, MySQL, or SQLite from the same ORM API"], "what_it_is": "Bookshelf is a lightweight JavaScript ORM for Node.js built on top of the Knex SQL query builder. It supports PostgreSQL, MySQL, and SQLite3 with promise-based APIs, transactions, eager relation loading, and polymorphic associations.", "when_to_avoid": ["you need a modern, actively evolving ORM with first-class TypeScript support", "you use databases other than PostgreSQL, MySQL, or SQLite3", "you prefer newer alternatives like Prisma, TypeORM, or Drizzle"], "when_to_choose": ["you want a lean, simple ORM on top of Knex for Node.js", "you need flexible relation loading and polymorphic associations", "you want the ability to escape to raw SQL via Knex when needed"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/bookshelf", "repo": "bookshelf/bookshelf", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:42.716774+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:46:07.386062+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f526db6b9b3fb46404d98b0df7ddc74013871de7d069df5ddd07972e4c19f1a4", "fetched_at": "2026-08-28T04:09:42.716774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bookshelf/bookshelf"}, {"content_hash": "f6882f8d31ec49559b0d0e411863ab11e8eda5f0d60543c3d03cb3ac2ff3b745", "fetched_at": "2026-08-29T08:42:40.426718+00:00", "kind": "homepage", "missing": false, "url": "http://bookshelfjs.org"}, {"content_hash": "6a2b6ba4522825a844612b0ef1397e4cdbc8a584ec02b2798dbbd897e871eb47", "fetched_at": "2026-08-29T08:42:40.428601+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bookshelf"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:42.716774+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:46:07.386062+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f526db6b9b3fb46404d98b0df7ddc74013871de7d069df5ddd07972e4c19f1a4", "fetched_at": "2026-08-28T04:09:42.716774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bookshelf/bookshelf"}, {"content_hash": "f6882f8d31ec49559b0d0e411863ab11e8eda5f0d60543c3d03cb3ac2ff3b745", "fetched_at": "2026-08-29T08:42:40.426718+00:00", "kind": "homepage", "missing": false, "url": "http://bookshelfjs.org"}, {"content_hash": "6a2b6ba4522825a844612b0ef1397e4cdbc8a584ec02b2798dbbd897e871eb47", "fetched_at": "2026-08-29T08:42:40.428601+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bookshelf"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:46:07.386062+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f526db6b9b3fb46404d98b0df7ddc74013871de7d069df5ddd07972e4c19f1a4", "fetched_at": "2026-08-28T04:09:42.716774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bookshelf/bookshelf"}, {"content_hash": "f6882f8d31ec49559b0d0e411863ab11e8eda5f0d60543c3d03cb3ac2ff3b745", "fetched_at": "2026-08-29T08:42:40.426718+00:00", "kind": "homepage", "missing": false, "url": "http://bookshelfjs.org"}, {"content_hash": "6a2b6ba4522825a844612b0ef1397e4cdbc8a584ec02b2798dbbd897e871eb47", "fetched_at": "2026-08-29T08:42:40.428601+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bookshelf"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:42.716774+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:42.716774+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:42.716774+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:46:07.386062+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f526db6b9b3fb46404d98b0df7ddc74013871de7d069df5ddd07972e4c19f1a4", "fetched_at": "2026-08-28T04:09:42.716774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bookshelf/bookshelf"}, {"content_hash": "f6882f8d31ec49559b0d0e411863ab11e8eda5f0d60543c3d03cb3ac2ff3b745", "fetched_at": "2026-08-29T08:42:40.426718+00:00", "kind": "homepage", "missing": false, "url": "http://bookshelfjs.org"}, {"content_hash": "6a2b6ba4522825a844612b0ef1397e4cdbc8a584ec02b2798dbbd897e871eb47", "fetched_at": "2026-08-29T08:42:40.428601+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bookshelf"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:42.716774+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:42.716774+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:46:07.386062+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f526db6b9b3fb46404d98b0df7ddc74013871de7d069df5ddd07972e4c19f1a4", "fetched_at": "2026-08-28T04:09:42.716774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bookshelf/bookshelf"}, {"content_hash": "f6882f8d31ec49559b0d0e411863ab11e8eda5f0d60543c3d03cb3ac2ff3b745", "fetched_at": "2026-08-29T08:42:40.426718+00:00", "kind": "homepage", "missing": false, "url": "http://bookshelfjs.org"}, {"content_hash": "6a2b6ba4522825a844612b0ef1397e4cdbc8a584ec02b2798dbbd897e871eb47", "fetched_at": "2026-08-29T08:42:40.428601+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bookshelf"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:42.716774+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:42.716774+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:42.716774+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:46:07.386062+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f526db6b9b3fb46404d98b0df7ddc74013871de7d069df5ddd07972e4c19f1a4", "fetched_at": "2026-08-28T04:09:42.716774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bookshelf/bookshelf"}, {"content_hash": "f6882f8d31ec49559b0d0e411863ab11e8eda5f0d60543c3d03cb3ac2ff3b745", "fetched_at": "2026-08-29T08:42:40.426718+00:00", "kind": "homepage", "missing": false, "url": "http://bookshelfjs.org"}, {"content_hash": "6a2b6ba4522825a844612b0ef1397e4cdbc8a584ec02b2798dbbd897e871eb47", "fetched_at": "2026-08-29T08:42:40.428601+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bookshelf"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:42.716774+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:42.716774+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:46:07.386062+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f526db6b9b3fb46404d98b0df7ddc74013871de7d069df5ddd07972e4c19f1a4", "fetched_at": "2026-08-28T04:09:42.716774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bookshelf/bookshelf"}, {"content_hash": "f6882f8d31ec49559b0d0e411863ab11e8eda5f0d60543c3d03cb3ac2ff3b745", "fetched_at": "2026-08-29T08:42:40.426718+00:00", "kind": "homepage", "missing": false, "url": "http://bookshelfjs.org"}, {"content_hash": "6a2b6ba4522825a844612b0ef1397e4cdbc8a584ec02b2798dbbd897e871eb47", "fetched_at": "2026-08-29T08:42:40.428601+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bookshelf"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:46:07.386062+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f526db6b9b3fb46404d98b0df7ddc74013871de7d069df5ddd07972e4c19f1a4", "fetched_at": "2026-08-28T04:09:42.716774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bookshelf/bookshelf"}, {"content_hash": "f6882f8d31ec49559b0d0e411863ab11e8eda5f0d60543c3d03cb3ac2ff3b745", "fetched_at": "2026-08-29T08:42:40.426718+00:00", "kind": "homepage", "missing": false, "url": "http://bookshelfjs.org"}, {"content_hash": "6a2b6ba4522825a844612b0ef1397e4cdbc8a584ec02b2798dbbd897e871eb47", "fetched_at": "2026-08-29T08:42:40.428601+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bookshelf"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:46:07.386062+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f526db6b9b3fb46404d98b0df7ddc74013871de7d069df5ddd07972e4c19f1a4", "fetched_at": "2026-08-28T04:09:42.716774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bookshelf/bookshelf"}, {"content_hash": "f6882f8d31ec49559b0d0e411863ab11e8eda5f0d60543c3d03cb3ac2ff3b745", "fetched_at": "2026-08-29T08:42:40.426718+00:00", "kind": "homepage", "missing": false, "url": "http://bookshelfjs.org"}, {"content_hash": "6a2b6ba4522825a844612b0ef1397e4cdbc8a584ec02b2798dbbd897e871eb47", "fetched_at": "2026-08-29T08:42:40.428601+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bookshelf"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:46:07.386062+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f526db6b9b3fb46404d98b0df7ddc74013871de7d069df5ddd07972e4c19f1a4", "fetched_at": "2026-08-28T04:09:42.716774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bookshelf/bookshelf"}, {"content_hash": "f6882f8d31ec49559b0d0e411863ab11e8eda5f0d60543c3d03cb3ac2ff3b745", "fetched_at": "2026-08-29T08:42:40.426718+00:00", "kind": "homepage", "missing": false, "url": "http://bookshelfjs.org"}, {"content_hash": "6a2b6ba4522825a844612b0ef1397e4cdbc8a584ec02b2798dbbd897e871eb47", "fetched_at": "2026-08-29T08:42:40.428601+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bookshelf"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4928, "days_push": 753, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}