jonschlinkert / whence
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, templates, and many other user cases.
☆42Updated 2 months ago
Alternatives and similar repositories for whence:
Users that are interested in whence are comparing it to the libraries listed below
- Expand deeply nested values from an object, with support for advanced features☆17Updated 2 years ago
- Tiny & fast alternative to path-to-regexp☆18Updated 2 years ago
- Resolve values based on a JSON schema. Supports conditionals and composition. Useful for configuration, preferences, LLM chat completions…☆13Updated 2 weeks ago
- A tiny PEG-like system for building language grammars with regexes.☆21Updated last month
- Transform JSX in estrees to function calls (for react, preact, and most hyperscript interfaces)☆22Updated 7 months ago
- A way to create persistent fragments☆12Updated 2 years ago
- Repo with examples of building a Preact app using various bundlers☆17Updated last year
- A simple promisified recursive readdir function, with support for globs and .gitignore files.☆13Updated 2 months ago
- Deep observable objects for preact-signals☆28Updated 2 years ago
- A minimalistic and flexible templating engine, inspired by Handlebars.☆23Updated last year
- ☆33Updated 3 years ago
- Literally the only sane way, if not the fastest one, to extend the Function class witohut evaluation.☆38Updated 5 months ago
- Capture screenshots programmatically. Cross-platform, with support for MacOS (Darwin), Windows, and Linux.☆27Updated last month
- A little CLI for making TypeScript packages, cleanly and effortlessly.☆21Updated 10 months ago
- Recursively read a directory, blazing fast. Use with picomatch or micromatch to match globs.☆43Updated last year
- 🤖 Script to automate creating built branches☆22Updated 2 years ago
- Small, no dependencies, Markdown, HTML, and inline CSS parser. Just 4KB, available as ESM module from CDN.☆19Updated this week
- Loads .env files in order based on process.env.NODE_ENV value with [stage].local support☆10Updated 3 years ago
- Dual module with empty exports for many cases.☆16Updated 5 months ago
- Zipping & unzipping, simplified.☆20Updated 4 years ago
- A tiny (330B to 357B) and fast utility to find a package's hidden supply / cache directory.☆34Updated 4 years ago
- Tiny performant library for extracting the critical CSS.☆10Updated last year
- An absurdly small glob matcher that packs a punch.☆47Updated last month
- A JSX transformer with extra hints around interpolations and outer templates.☆14Updated 2 years ago
- Fast and minimal JS <head> server-side writer and client-side manager.☆25Updated 6 months ago
- A grep-like command that uses JavaScript-flavored regular expressions.☆19Updated 9 months ago
- Promise Semaphore☆26Updated 2 years ago
- Glob search in constant time thanks to git cache☆26Updated 4 years ago
- JS formatter for dprint Wasm plugins.☆33Updated 9 months ago
- ☆11Updated last year