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.
☆14Updated 4 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 2 months ago
- An absurdly small glob matcher that packs a punch.☆50Updated 3 months ago
- A fast parser and processor for .gitignore files.☆57Updated last year
- A tiny PEG-like system for building language grammars with regexes.☆22Updated 7 months ago
- Resolve values based on a JSON schema. Supports conditionals and composition. Useful for configuration, preferences, LLM chat completions…☆13Updated 5 months ago
- A minimalistic and flexible templating engine, inspired by Handlebars.☆24Updated 2 years ago
- A little CLI for making TypeScript packages, cleanly and effortlessly.☆23Updated last year
- Small, no dependencies, Markdown, HTML, and inline CSS parser. Just 4KB, available as ESM module from CDN.☆24Updated last week
- A structured clone equivalent able to encode and decode as a buffer.☆43Updated 6 months ago
- A simple promisified recursive readdir function, with support for globs and .gitignore files.☆13Updated 7 months ago
- Abortable and Resolvable Promises.☆55Updated 2 years 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 template literal based ESX proposal☆51Updated last year
- Glob search in constant time thanks to git cache☆25Updated 4 years ago
- A tiny (0.5 kB) decimal type for JavaScript☆51Updated 7 months ago
- 🌐 Interactive glob pattern tester☆30Updated 3 years ago
- A grep-like command that uses JavaScript-flavored regular expressions.☆20Updated last year
- primitives for advanced inference in TS☆17Updated 2 weeks ago
- Iterable WeakMap, WeakSet and WeakValue☆38Updated 2 years ago
- Add context awareness to your apps and frameworks by safely evaluating user-defined conditional expressions. Useful for evaluating expres…☆48Updated 7 months ago
- ☁️ Publish your npm package to a GitHub repository branch☆63Updated 3 weeks ago
- The one-stop shop solution for JS Proxies and FFI APIs.☆26Updated 6 months ago
- Incredibly tiny, fast JS tokenizer☆58Updated 2 years ago
- Light, elegant animation plugin for Preact (powered by Motion.dev and WAAPI)☆31Updated last month
- Dual module with empty exports for many cases.☆16Updated 11 months ago
- On-demand bundle analyzer, powered by esbuild.☆129Updated 9 months ago
- Render readable & responsive tables in the terminal☆56Updated 7 months ago
- Small benchmark library focused on avoiding optimization/deoptimization pollution between tests by isolating them.☆24Updated 3 months ago
- Socket.dev optimized 📦 overrides✨☆33Updated this week
- A CLI spinner in under 1kB☆16Updated last year