Resolve the path of a module like `require.resolve()` but from a given path
Parse function arguments. Useful to implement variadic functions.
Tools for building Cognigy.AI extensions for Cognigy.AI 4
borderless text tables with alignment
A React component that renders a sidebar, for navigation purposes.
Streaming text decoder that preserves multibyte Unicode characters
compare two semver version strings, returning -1, 0, or 1
Parse Postgres interval columns
A composable stream processing pipeline for parsing OpenRouter/OpenAI streaming API responses. Each transform stream handles one layer of parsing and emits typed messages that flow through the pipeline.
JSON.parse with bigints support
Run a function exactly one time
Trim newlines from the start and/or end of a string
A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset of both ansi and vt100. All control codes included work on both Windows & Unix-like OSes, except where noted.
Unopinionated, no-frills CLI argument parser
Polyfill of future proposal for `util.parseArgs()`
A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
Auto-add help and version CLI and update notification checks
simple persistent cookiejar system
mjml-column
A minimalistic code generation utility.
process.nextTick but always with args
Easy way to split a string on a given character unless it's quoted or escaped.
A headless and comprehensive type-safe content management system built with Nextjs. This package provides all the core functionality for building dynamic CMS-powered websites with authentication, database integration, and extensible content sections.
Add anchor.js to your Gitbook