1,711,037 packages matching “string highlight”
fast-string-truncated-width
v3.0.3 · 10 months ago
A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
No known vulnerabilities
cssesc
v3.0.0 · 7 years ago
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
No known vulnerabilities
natural-compare
v1.4.0 · 10 years ago
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
No known vulnerabilities
fast-string-width
v3.0.2 · 10 months ago
A fast function for calculating the visual width of a string once printed to the terminal.
No known vulnerabilities
css.escape
v1.5.1 · 9 years ago
A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.
No known vulnerabilities
split-on-first
v4.0.0 · 11 months ago
Split a string on the first occurance of a given separator
No known vulnerabilities
ts-dedent
v2.3.0 · 1 month ago
TypeScript package which smartly trims and strips indentation from multi-line strings
No known vulnerabilities
leven
v4.1.0 · 11 months ago
Measure the difference between two strings using the Levenshtein distance algorithm
No known vulnerabilities
he
v1.2.0 · 7 years ago
A robust HTML entities encoder/decoder with full Unicode support.
No known vulnerabilities
wcwidth
v1.0.1 · 10 years ago
Port of C's wcwidth() and wcswidth()
No known vulnerabilities
camelcase
v9.0.0 · 9 months ago
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
No known vulnerabilities
crypto-random-string
v6.0.0 · 15 days ago
Generate a cryptographically strong random string
No known vulnerabilities
decamelize
v6.0.1 · 11 months ago
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
No known vulnerabilities
split-string
v6.1.0 · 7 years ago
Easy way to split a string on a given character unless it's quoted or escaped.
No known vulnerabilities
string.prototype.repeat
v1.0.0 · 6 years ago
A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.
No known vulnerabilities
query-string
v9.5.0 · 1 day ago
Parse and stringify URL query strings
No known vulnerabilities
dedent
v1.7.2 · 5 months ago
A string tag that strips indentation from multi-line strings. ⬅️
No known vulnerabilities
filenamify
v7.0.2 · 1 month ago
Convert a string to a valid safe filename
No known vulnerabilities
@babel/helper-string-parser
v8.0.0 · 1 month ago
A utility package to parse strings
No known vulnerabilities
@sindresorhus/transliterate
v2.3.1 · 7 months ago
Convert Unicode characters to Latin characters using transliteration
No known vulnerabilities