Skip to content

Minimal, zero-dependency TypeScript libraries. Tiny, type-safe, runtime-agnostic.

License

Notifications You must be signed in to change notification settings

brielov/suckless

Repository files navigation

suckless

Small, focused libraries that do one thing well.

Inspired by the suckless philosophy: software should be simple, minimal, and correct. No bloat, no unnecessary abstractions, no kitchen sinks.

Each package in this repository is:

  • Tiny — hundreds of lines, not thousands
  • Zero dependencies — nothing to audit, nothing to break
  • Type-safe — correct types are the contract, not an afterthought
  • Runtime-agnostic — works in Bun, Node, Deno, and browsers unless stated otherwise
  • Single-purpose — solves one problem completely, then stops

Packages

Package Description
@suckless/cache Minimal cache with pluggable adapters and request deduplication
@suckless/cron Cron expression parser with next/prev schedule computation
@suckless/duration Parse and format duration strings
@suckless/emitter Type-safe event emitter
@suckless/jsx JSX-to-string runtime with XSS escaping and strict element types
@suckless/key Deterministic value serialization
@suckless/limiter Token bucket rate limiter with pluggable storage
@suckless/memo Memoization with LRU eviction
@suckless/middleware Generic composable middleware
@suckless/queue Producer/consumer queue with pluggable storage
@suckless/retry Retry with exponential backoff and jitter
@suckless/router Fast URL pattern router
@suckless/schema Runtime validation with compiled validators

License

MIT

About

Minimal, zero-dependency TypeScript libraries. Tiny, type-safe, runtime-agnostic.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •