< NPCLFG

NANO.*

// lightweight libraries for the modern web

> THESIS: AI can write better, lighter libraries

> APPROACH: Zero dependencies. TypeScript-first. Do one thing well.

> RESULT: Packages 10-100x smaller than alternatives

[PKG]

nano-limit

v1.0.1

Tiny concurrency and rate limiter with priorities, AbortSignal, and zero dependencies.

npm i @npclfg/nano-limit
0 deps ~200 LOC TypeScript
[PKG]

nano-retry

v1.0.2

Exponential backoff with AbortSignal, per-attempt timeout, and jitter. Zero dependencies.

npm i nano-retry
0 deps ~400 LOC TypeScript
[PKG]

nano-emitter

v1.0.0

Tiny event emitter with priorities, pattern matching, and async support.

npm i nano-emitter
0 deps ~500 LOC TypeScript
[PKG]

nano-limit-redis

v1.0.0

Distributed rate limiting with Redis. Sliding window counter with atomic Lua scripts.

npm i @npclfg/nano-limit-redis
1 peer dep ~350 LOC TypeScript

> WHY NANO?

[0]
ZERO DEPENDENCIES No supply chain attacks. No version conflicts. No bloat.
[1]
TYPESCRIPT FIRST Full type safety. No @types packages needed.
[2]
ESM + CJS Works everywhere. Tree-shakeable. Future-proof.
[3]
SMALL SURFACE Easy to audit. Easy to understand. Easy to trust.