jonschlinkert / intl-segmenterLinks
A high-performance wrapper around Intl.Segmenter for efficient text segmentation. This class resolves memory handling issues seen with large strings and "maximum call stack exceeded" exceptions that occur when strings exceed 40-50k characters. Enhances performance by 50-500x. Only ~70 loc (with comments) and no dependencies.
☆15Updated 5 months ago
Alternatives and similar repositories for intl-segmenter
Users that are interested in intl-segmenter are comparing it to the libraries listed below
Sorting:
- Capture screenshots programmatically. Cross-platform, with support for MacOS (Darwin), Windows, and Linux.☆43Updated 3 months ago
- A minimalistic and flexible templating engine, inspired by Handlebars.☆23Updated 2 years ago
- An absurdly small glob matcher that packs a punch.☆51Updated 4 months ago
- Resolve values based on a JSON schema. Supports conditionals and composition. Useful for configuration, preferences, LLM chat completions…☆13Updated 6 months ago
- Small, no dependencies, Markdown, HTML, and inline CSS parser. Just 4KB, available as ESM module from CDN.☆25Updated last month
- CLI for executing multiple commands in parallel with minimal footprint (~2KB).☆11Updated last month
- 🌐 Interactive glob pattern tester☆30Updated 3 years ago
- A tiny (0.5 kB) decimal type for JavaScript☆51Updated 8 months ago
- Add context awareness to your apps and frameworks by safely evaluating user-defined conditional expressions. Useful for evaluating expres…☆48Updated 8 months ago
- A fast parser and processor for .gitignore files.☆57Updated last year
- A simple promisified recursive readdir function, with support for globs and .gitignore files.☆13Updated 8 months ago
- Creates a module graph based on a given entrypoint. Supports ESM, monorepos, import attributes, typescript (via a plugin) and is extensib…☆51Updated 2 months ago
- A tiny PEG-like system for building language grammars with regexes.☆22Updated 8 months ago
- A structured clone equivalent able to encode and decode as a buffer.☆43Updated 6 months ago
- primitives for advanced inference in TS☆17Updated this week
- A Visual Studio Code extension loads types(.d.ts) for esm.sh imports.☆40Updated 11 months ago
- String utilities that understand terminal escape sequences.☆24Updated 9 months ago
- alien-signals with a Preact signals like API☆26Updated this week
- Socket.dev optimized 📦 overrides✨☆33Updated this week
- The one-stop shop solution for JS Proxies and FFI APIs.☆26Updated 7 months ago
- A list of some OSS packages that are known to require lifecycle scripts to function properly☆33Updated 3 months ago
- Light, elegant animation plugin for Preact (powered by Motion.dev and WAAPI)☆31Updated 2 months ago
- Specification for the .env configuration file format.☆24Updated 8 months ago
- A very small and very fast spec compliant css lexer☆48Updated 2 years ago
- On-demand bundle analyzer, powered by esbuild.☆129Updated 9 months ago
- Abortable and Resolvable Promises.☆55Updated 2 years ago
- ☁️ Publish your npm package to a GitHub repository branch☆64Updated this week
- A grep-like command that uses JavaScript-flavored regular expressions.☆20Updated last year
- A CLI spinner in under 1kB☆16Updated last year
- Find a file or directory by walking up parent directories — Zero dependencies☆81Updated 4 months ago