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.
☆17Updated 8 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 5 months ago
- Resolve values based on a JSON schema. Supports conditionals and composition. Useful for configuration, preferences, LLM chat completions…☆13Updated 8 months ago
- An absurdly small glob matcher that packs a punch.☆74Updated 2 months ago
- A tiny (0.5 kB) decimal type for JavaScript☆51Updated 11 months ago
- Add context awareness to your apps and frameworks by safely evaluating user-defined conditional expressions. Useful for evaluating expres…☆48Updated 11 months ago
- A minimalistic and flexible templating engine, inspired by Handlebars.☆23Updated 2 years ago
- Small, no dependencies, Markdown, HTML, and inline CSS parser. Just 4KB, available as ESM module from CDN.☆25Updated 3 months ago
- Convert a string index to its line and column position☆36Updated 3 months ago
- Abortable and Resolvable Promises.☆55Updated 2 years ago
- Iterable WeakMap, WeakSet and WeakValue☆38Updated 2 years ago
- A fast parser and processor for .gitignore files.☆58Updated last year
- A structured clone equivalent able to encode and decode as a buffer.☆43Updated 9 months ago
- Creates a module graph based on a given entrypoint. Supports ESM, monorepos, import attributes, typescript (via a plugin) and is extensib…☆53Updated 5 months ago
- A little CLI for making TypeScript packages, cleanly and effortlessly.☆24Updated last year
- A tiny PEG-like system for building language grammars with regexes.☆23Updated last month
- A CLI spinner in under 1kB☆16Updated last year
- Glob search in constant time thanks to git cache☆25Updated 4 years ago
- CLI for executing multiple commands in parallel with minimal footprint (~2KB).☆12Updated last month
- A minimalistic wrapper around Node.js `child_process.spawn` API.☆37Updated last month
- JS formatter for dprint Wasm plugins.☆40Updated this week
- String utilities that understand terminal escape sequences.☆24Updated 11 months ago
- Make presentable errors☆62Updated 2 years ago
- The one-stop shop solution for JS Proxies and FFI APIs.☆26Updated 10 months ago
- 🌐 Interactive glob pattern tester☆30Updated 3 years ago
- Check if the process is running in a Continuous Integration (CI) environment☆37Updated 4 months ago
- Incredibly tiny, fast JS tokenizer☆58Updated 2 years ago
- Utility library for working with FormData in Typescript☆23Updated last year
- A template literal based ESX proposal☆51Updated last year
- A Visual Studio Code extension loads types(.d.ts) for esm.sh imports.☆42Updated last year
- ☁️ Publish your npm package to a GitHub repository branch☆66Updated this week