Janitor v0.1.0
Janitor is a small TypeScript library for durable first-party browser identity, with optional Jev-assisted matching and risk scoring.
- Cookie continuity plus bounded observation-history matching.
- Safe browser collection and aggregate event counts.
- Cloudflare D1 and Postgres storage, with Node, Vercel, and Cloudflare adapters.
- Direct Jev and Workers AI evaluators with typed outputs and deterministic fallback.
- Three runnable example applications, privacy documentation, and practical tests.
- A public documentation site and synthetic playground at https://janitor.holycoders.io.
Install the prebuilt packages
Download janitor-0.1.0.tar.gz, extract it into an empty directory, then run pnpm install. The bundle includes seven ESM/declaration package archives and a consumer manifest with the pnpm overrides needed to resolve the unpublished sibling packages locally. For an existing application, merge its dependencies and overrides and adjust the archive paths. Node 22.12+ and pnpm 9.12.0 are recommended.
These packages are not published on npm. Confidence thresholds and AI judgments are experimental and require application-specific calibration; identity is not authentication. External AI calls are mocked in the test suite. The library never blocks users or displays a CAPTCHA.
MIT licensed. See the README for the public API, examples, migrations, and validation details.