Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
# Contributing to cachekit-ts

Thanks for your interest. This project is in pre-1.0 development — see the [README](README.md#status) for what that means for stability. Bug reports, fixes, and well-scoped features are all welcome.
Thanks for your interest. This project is in pre-1.0 development — see the release status in the [README](README.md) for what that means for stability. Bug reports, fixes, and well-scoped features are all welcome.

## Quick setup

```bash
# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run tests
pnpm test

# Lint
pnpm lint
```

Requirements: Node.js 22+, pnpm 11.11+, Rust stable (`pnpm build` compiles the native binding in `packages/cachekit-core-ts/` when that package's build task cache misses).
Expand Down
55 changes: 37 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
# cachekit-ts
# @cachekit-io/cachekit

TypeScript SDK for CacheKit — backend-agnostic caching with L1 in-memory, SWR, circuit breaker, and optional zero-knowledge encryption. Works with Redis, Memcached, File, Workers KV, or CacheKit Cloud.
[![npm](https://img.shields.io/npm/v/@cachekit-io/cachekit.svg)](https://www.npmjs.com/package/@cachekit-io/cachekit) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

TypeScript SDK for CacheKit — backend-agnostic caching with L1 in-memory, SWR, circuit breaker, and optional zero-knowledge encryption.

> [!NOTE]
> **Status: beta** — CacheKit is in closed beta ahead of 1.0. APIs are stabilising; minor breaking changes may still occur between 0.x releases.

## Requirements

- Node.js 22+ (Node entrypoint) or Cloudflare Workers (workerd). The CommonJS build (`require()`) needs Node.js 22.12+, because it loads the ESM-only `@noble/hashes` through `require(esm)`
- Redis 6+ (Node Redis backends)

## Installation

```bash
npm install @cachekit-io/cachekit
```

Works with Redis, Memcached, File, Workers KV, or CacheKit Cloud. The full README, with the quick start, configuration and API reference, is the package's own: [packages/cachekit/README.md](packages/cachekit/README.md).

## Packages

| Package | Description |
Expand All @@ -16,22 +32,6 @@ TypeScript SDK for CacheKit — backend-agnostic caching with L1 in-memory, SWR,
Bluesky firehose analytics from a Cloudflare Workers edge API, reading cache entries written live
by the Python SDK on one shared interop namespace.

## Development

```bash
# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run tests
pnpm test

# Lint
pnpm lint
```

## Architecture

```
Expand Down Expand Up @@ -60,6 +60,25 @@ cachekit-ts/
└── pnpm-workspace.yaml
```

## Documentation

- [Quickstart](https://docs.cachekit.io/typescript/quickstart/)
- [Cloudflare Workers quickstart](https://docs.cachekit.io/typescript/workers-quickstart/)
- [Backends reference](https://docs.cachekit.io/typescript/reference/backends/)
- [Cache reference](https://docs.cachekit.io/typescript/reference/cache/)
- [Configuration reference](https://docs.cachekit.io/typescript/reference/configuration/)
- [Protocol specification](https://github.com/cachekit-io/protocol)

### In this repository

- [Package README](packages/cachekit/README.md)
- [Changelog](packages/cachekit/CHANGELOG.md)
- [Security policy](SECURITY.md)

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md) for building from source, running the tests and benchmarks, and sending a change.

## License

MIT
Loading
Loading