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.
☆13Updated 2 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.☆36Updated 4 months ago
- Resolve values based on a JSON schema. Supports conditionals and composition. Useful for configuration, preferences, LLM chat completions…☆14Updated 3 months ago
- Add context awareness to your apps and frameworks by safely evaluating user-defined conditional expressions. Useful for evaluating expres…☆45Updated 5 months ago
- Convert a string index to its line and column position☆33Updated 3 months ago
- A structured clone equivalent able to encode and decode as a buffer.☆43Updated 3 months ago
- Specification for the .env configuration file format.☆23Updated 5 months ago
- Expand deeply nested values from an object, with support for advanced features☆17Updated 2 years ago
- Glob search in constant time thanks to git cache☆26Updated 4 years ago
- Abortable and Resolvable Promises.☆55Updated 2 years ago
- A safer loop for sync or async unique use cases.☆21Updated last year
- Creates a module graph based on a given entrypoint. Supports ESM, monorepos, import attributes, typescript (via a plugin) and is extensib…☆50Updated last year
- 🌐 Interactive glob pattern tester☆30Updated 3 years ago
- Tokenize a shell string into argv array☆23Updated 5 months ago
- An absurdly small glob matcher that packs a punch.☆50Updated last month
- Gracefully restore the CLI cursor on exit☆38Updated 11 months ago
- utility to create a new tree with nodes that pass a filter☆20Updated last year
- String utilities that understand terminal escape sequences.☆24Updated 6 months ago
- Detect and extract the static part of a glob string.☆10Updated 3 years ago
- A fast parser and processor for .gitignore files.☆57Updated last year
- Helper functions for implementing the idle-until-urgent pattern☆36Updated 6 years ago
- Utility to convert gitignore patterns into minimatch patterns☆12Updated 4 months ago
- An idle-until-urgent component hydrator.☆1Updated 4 years ago
- A tiny (156B) utility to compare a string against a template mask.☆22Updated 8 years ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆23Updated 3 years ago
- utility to find a node☆23Updated 5 months ago
- Take care of your spawn()☆85Updated 7 months ago
- package.json#exports resolver for eslint-plugin-import☆13Updated last year
- A CLI spinner in under 1kB☆16Updated last year
- Glob to regular expression with support for extended globs.☆74Updated 10 months ago
- Tool to show the difference in a package's major version downloads over the past week☆51Updated this week