# apache/cassandra-nodejs-driver

Node.js Driver for Apache Cassandra

Repository: https://github.com/apache/cassandra-nodejs-driver
Canonical: https://ross.abutalabs.com/products/cassandra-nodejs-driver
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: driver, cassandra, javascript, datastax-driver, client, nodejs, nosql, database, datastax
Last push: 2026-09-02T00:54:21+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 35, longevity 100
- inputs: {"age_days": 4380, "days_push": 1, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1269, forks 206 (observed 2026-09-03T02:15:09.165149+00:00)

## What it is
The official Node.js client library for Apache Cassandra, DSE, HCD, and Astra DB, communicating via Cassandra's binary protocol and CQL. It provides connection pooling, load balancing, retry policies, prepared and batch statements, and an optional object mapper.

## Use cases
- connect to cassandra from nodejs
- run cql queries in javascript
- use prepared statements with cassandra
- connect to datastax astra db from node
- stream query rows from cassandra
- manage cassandra connection pooling and load balancing

## When to choose
- your Node.js application needs to read/write an Apache Cassandra or Astra DB cluster
- you need tunable driver behavior like load balancing, retries, and reconnection
- you want promise- and callback-based APIs with TypeScript support

## When to avoid
- you use a relational or document database instead of Cassandra
- your runtime is not Node.js or a JavaScript environment
- you need an ORM with full schema migrations rather than a CQL driver

## Facets
- artifact type: library
- maturity: active
- function: database-driver, database
- domain: databases, backend, web-development
- platform: -
- tags: cassandra, nosql, cql, datastax, astra-db, client-library, nodejs, javascript

## Member repositories
- apache/cassandra-nodejs-driver (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:09.165149+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:03:30.975193+00:00, confidence not recorded.
  - readme: https://github.com/apache/cassandra-nodejs-driver (fetched 2026-09-03T02:15:09.165149+00:00, sha 02dff4c8b617)
- Data as of 2026-08-30T08:39:29.467469+00:00.
