2,992,888 packages matching “class to string”
split-on-first
v4.0.0 · 1 year ago
Split a string on the first occurance of a given separator
No known vulnerabilities
ts-dedent
v2.3.0 · 3 months ago
TypeScript package which smartly trims and strips indentation from multi-line strings
No known vulnerabilities
nlcst-to-string
v4.0.0 · 3 years ago
nlcst utility to transform a tree to a string
No known vulnerabilities
trim-newlines
v5.0.0 · 3 years ago
Trim newlines from the start and/or end of a string
No known vulnerabilities
is-string
v1.1.1 · 1 year ago
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
No known vulnerabilities
fast-string-width
v3.0.2 · 11 months ago
A fast function for calculating the visual width of a string once printed to the terminal.
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
hast-util-to-string
v3.0.1 · 1 year ago
hast utility to get the plain-text value of a node
No known vulnerabilities
is-extglob
v2.1.1 · 9 years ago
Returns true if a string has an extglob.
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
@sindresorhus/base62
v1.0.0 · 1 year ago
Encode & decode strings, bytes, and integers to Base62
No known vulnerabilities
decamelize
v6.0.1 · 1 year ago
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
No known vulnerabilities
micromark-util-decode-string
v2.0.1 · 1 year ago
micromark utility to decode markdown strings
No known vulnerabilities
string-length
v7.0.1 · 8 months ago
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
No known vulnerabilities
filenamify
v7.0.3 · 26 days ago
Convert a string to a valid safe filename
No known vulnerabilities
dedent
v1.7.2 · 6 months ago
A string tag that strips indentation from multi-line strings. ⬅️
No known vulnerabilities
style-to-js
v2.0.2 · 2 months ago
Parses CSS inline style to JavaScript object (camelCased).
No known vulnerabilities
leven
v4.1.0 · 1 year ago
Measure the difference between two strings using the Levenshtein distance algorithm
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
string-hash
v1.1.3 · 9 years ago
fast string hashing function
No known vulnerabilities