Convert JSON to DCP positional-array format for AI agents — 40-70% token reduction
Wordwrap a string with ANSI escape codes
Wrap words to a specified length.
Helper to wrap functions inside a function call.
A tiny and fast text wrap library which takes ANSI escapes into account.
OpenCode plugin that optimizes token usage by pruning obsolete tool outputs from conversation context
Wrap words to a specified length.
Wrap those words. Show them at what columns to start and stop.
PostCSS plugin to replace overflow-wrap with word-wrap or optionally retain both declarations.
Wrap all spawned Node.js child processes by adding environs and arguments ahead of the main JavaScript file argument.
Encode and decode base64 encoded strings
Create ansi colors by passing the open and close codes.
An Error subclass that will chain nested Errors and dump nested stacktraces
Core libraries for accessing DCP network
Encode and decode quoted-printable strings according to rfc2045
Word-wrapping for javascript.
The broker which is used by the worker-timers package.
A small wrapper that makes IndexedDB usable
Simple React component that makes titles more readable.
A small lib to return promises or use callbacks
🧙 Valtio makes proxy-state simple for React and Vanilla
Memoization utilities for cacheable
Token compression plugin for OpenCode AI — multi-layer filtering, semantic compression, and dynamic context pruning.
Caseless object set/get/has, very useful when working with HTTP headers.