Skip to content

Repository files navigation

ts-packages

A monorepo of small, strongly-typed TypeScript packages published to npm and JSR.

License CI codecov

Packages

Package Version Coverage Description
@jeengbe/cache npm JSR Coverage A strongly typed TypeScript caching framework that works with any engine, with in-memory and Redis adapters included.
@jeengbe/config npm JSR Coverage A declarative, strongly typed schema for parsing and validating environment variables in TypeScript.
@jeengbe/prelude npm JSR Coverage A small, dependency-free functional programming toolkit for TypeScript.
@jeengbe/spiffe npm JSR Coverage A TypeScript library for working with SPIFFE workload identities.

Each package has its own README with installation and usage instructions. All packages are also published to JSR.

Development

Command Description
pnpm build Build all packages
pnpm test Run tests for all packages
pnpm test:coverage Run tests with coverage
pnpm lint Lint and format, fixing what can be auto-fixed
pnpm lint:readonly Lint and format check without making changes (used in CI)
pnpm sync-repo Re-derive files that are generated from the repo state

Shared tooling config (tsconfig, oxlint, oxfmt, vitest, tsdown) lives in scaffolding and is extended by every package.

Releases are managed with Changesets: run pnpm changeset to describe a change, and CI opens a version PR that publishes to npm and JSR once merged.

License

MIT Jesper Engberg

About

Strongly-typed TypeScript utility packages

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages