# dynamodb-toolbox/dynamodb-toolbox

Lightweight and type-safe query builder for DynamoDB and TypeScript

Repository: https://github.com/dynamodb-toolbox/dynamodb-toolbox
Canonical: https://ross.abutalabs.com/products/dynamodb-toolbox
Homepage: https://www.dynamodbtoolbox.com/
Language: TypeScript
License: MIT
License Family: permissive
Topics: dynamodb, serverless, aws, nosql, typescript
Last push: 2026-08-25T22:36:51+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 2474, "days_push": 8, "days_rel": 15, "gap_med": 2.0, "n_releases_24m": 91}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2001, forks 185 (observed 2026-08-28T04:06:04.384358+00:00)

## What it is
DynamoDB-Toolbox is a lightweight, type-safe query builder and abstraction layer over the AWS DynamoDB Document Client for TypeScript. It provides rich schema definitions with validation, defaults, and portability to Zod/JSON Schema, with strong support for single-table designs.

## Use cases
- build type-safe DynamoDB queries in TypeScript
- validate items pushed to and fetched from DynamoDB against schemas
- implement single-table design patterns in DynamoDB
- replace the awkward AWS Document Client with a friendlier API
- share schemas between Zod, JSON Schema, and DynamoDB
- keep serverless bundle sizes small with a tree-shakable DynamoDB library

## When to choose
- you use DynamoDB with TypeScript and want end-to-end type safety
- you need schema validation and defaults for DynamoDB items
- you're building serverless applications on AWS with DynamoDB
- you query multiple entities from a single DynamoDB table

## When to avoid
- you use a relational or non-AWS database
- you want a full ORM with migrations and joins rather than a query builder
- your project doesn't use TypeScript and you don't need type safety

## Facets
- artifact type: library
- maturity: active
- function: database-driver, orm, serialization, type-system
- domain: databases, developer-tools, web-development, backend
- platform: serverless, cloud
- tags: dynamodb, query-builder, single-table-design, schema-validation, zod, json-schema, aws-sdk, nosql, nodejs, typescript

## Member repositories
- dynamodb-toolbox/dynamodb-toolbox (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:04.384358+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-30T03:02:06.116272+00:00, confidence not recorded.
  - readme: https://github.com/dynamodb-toolbox/dynamodb-toolbox (fetched 2026-08-28T04:06:04.384358+00:00, sha f806afc06892)
  - homepage: https://www.dynamodbtoolbox.com/ (fetched 2026-08-29T10:42:02.736349+00:00, sha 5f749a29ced6)
  - site_page: https://www.dynamodbtoolbox.com/docs/getting-started/overview (fetched 2026-08-29T10:42:02.745341+00:00, sha 569b65757e5c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
