Starred repositories
The Model Context Grammar Protocol defines a simple, extensible, and non-deterministic grammar for specifying valid message types and their arrangements in exchanges with language models. This prot…
Node.js support for OpenZL, an open source data compression framework from Meta that offers lossless compression for structured data, designed to provide the performance of format-specific compress…
Minimal, realistic benchmark to compare the compute performance of different serverless and edge computing platforms.
Drop-dead simple keypress event emitter and handler for Node.js. Create powerful CLI applications and experiences with ease. This library patches the native Node.js keypress logic to support additi…
Programmatically open a file dialog window (explorer) for picking files. Only works on Windows. Also see: open-finder-dialog, open-linux-file-dialog, and open-file-manager-dialog for other platforms.
Open a file dialog window programmatically to allow the user to select one or more files. Only works on Linux. No dependencies. Supports zenity (GNOME), kdialog (KDE), yad (Yet Another Dialog), qar…
Cross-platform utility to open a file or directory in the system's default file manager (Finder, Explorer, Nautilus, etc.)
Detect the terminal program currently being used, with support for iTerm, Terminal.app, Hyper, iTerm2, ConEmu, Cmde,r Alacritty, Xterm, Terminator, Termux, Kitty, and others. Detection is based on …
Capture screenshots programmatically. Cross-platform, with support for MacOS (Darwin), Windows, and Linux.
Resolve values based on a JSON schema. Supports conditionals and composition. Useful for configuration, preferences, LLM chat completions, etc.
Light weight JSON Schema $ref resolver. Expands a JSON Schema by resolving `$ref` references from a mapping of definitions. Does not handle remote references. Has comprehensive unit tests and no de…
Use "cw" in the CLI. No instructions necessary, just hit <enter>. Can also be used as a library. Commit Whisperer is an AI genius for generating meaningful git commit messages from repository state…
Open a finder dialog window (finder prompt) programmatically.
Get the line number for each regex match found in a string.
Easily trigger GitHub workflows, get latest workflow runs, and wait for workflow runs to complete.
Stylish, intuitive and user-friendly prompts. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegu…
Convert a string to snake case. Similar to kebab-case but uses underscores instead of dashes.
Detects the casing of the input string (camelcase, lowercase, snakecase, kebabcase, snakecase, uppercase etc).
Convert a string to pascal case (upper camel case). Used by more than 8.7 million projects on GitHub! Please follow this library's author: https://github.com/jonschlinkert
Dry is a new template engine and language, and is a superset of Shopify's Liquid, with first-class support for advanced inheritance features, and more. From the creators of Enquirer, Assemble, Rema…
Add context awareness to your apps and frameworks by safely evaluating user-defined conditional expressions. Useful for evaluating expressions in config files, prompts, key bindings, completions, t…
Safely evaluate JavaScript (estree) expressions, sync and async.
Returns `true` if the value of an object's property is strictly true, or it's inverse is false.
Expand deeply nested values from an object, with support for advanced features
Virtual file class. Extends Node's `fs.Dirent` with methods to simplify path handling. Like Vinyl, but lightweight.
Recursively read a directory, blazing fast. Use with picomatch or micromatch to match globs.