Cassandra Codegen

JSON →
library 0.0.11 ·javascript
verified May 27, 2026

Cassandra Codegen is a utility that generates TypeScript type definitions and type-safe mappers directly from a Cassandra or ScyllaDB database schema. Its current stable version is 0.0.11. The package releases updates on an irregular but active cadence, primarily addressing bug fixes, adding support for new Cassandra types, and enhancing generated type safety. A key differentiator is its ability to produce mappers that extend the functionality of `cassandra-driver`, offering improved type annotations for partition keys, clustering columns, and query operators. It automatically maps Cassandra types like `map` to TypeScript's `Record` and handles optionality/nullability for non-primary key columns in generated insert/retrieve types, aligning with typical driver behavior. The project draws inspiration from `kysely-codegen` for its schema-to-type generation approach.

total hits 23
actors 8 distinct systems
last hit 20h ago human
MetaBot
4
ByteDance
3
GPTBot
2
Script
2
Search engines
2
Humans
2

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇸🇬 Singapore · 🇮🇳 India