Showing 1-20 of 3,848 packages
Package implements longest repeated substring for finding the longest repeated string within a text body
Count the longest repeating streak of a substring
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Get the longest item in an array.
Remove leading, trailing, and repeated whitespace from a string
Implementations for the Longest Common Substring algorithm [O(nm) time]
A library implementing different string similarity
Unicode-aware substring
Strip a substring from the start/end of a string
retext plugin to check for for repeated words
Compare items in two sequences to find a longest common subsequence
Linear-time string search and comparison algorithms.
walk paths fast and efficiently
Zero dependency Metric Longest Common Subsequence implementation in js
Minimalistic trie implementation for prefix searches
Get the longest value for the given property from an array of objects, or the longest value in an object. Useful for aligning values for text tables, CLI help, etc.
Count how often a character (or substring) is used in a string
Compare items in two sequences to find a longest common subsequence
Upstream: https://github.com/facebook/jest/tree/v27.4.7/packages/diff-sequences
Get the longest line length of a string.