Showing 1-20 of 1,396 packages
Count the longest repeating streak of a substring
Get the longest item in an array.
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
Find the Length of the Longest Substring Without Repeating Characters
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Compare items in two sequences to find a longest common subsequence
Linear-time string search and comparison algorithms.
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.
Package implements longest repeated substring for finding the longest repeated string within a text body
Find the longest common subsequence.
Sorts items in descending order of length.