355 packages found
ES2019 spec-compliant String.prototype.trimEnd shim.
ES2019 spec-compliant String.prototype.trimStart shim.
ES2017 spec-compliant String.prototype.padEnd shim.
- String.prototype.padRight
- String.prototype.padEnd
- string
- ES2017
- ES8
- shim
- trim
- padLeft
- padRight
- padStart
- padEnd
- polyfill
- es-shim API
ES2017 spec-compliant String.prototype.padStart shim.
- String.prototype.padLeft
- String.prototype.padStart
- string
- ES8
- ES2017
- shim
- trim
- padLeft
- padRight
- padStart
- padEnd
- polyfill
- es-shim API
Strip ANSI escape codes from a string
Normalize a URL
Strip comments from JSON. Lets you use comments in your JSON files!
Strip UTF-8 byte order mark (BOM) from a string
ES5 spec-compliant shim for String.prototype.trim
Remove final line feeds from a string
Strip the final newline character from a string/buffer
Strip redundant indentation and indent the string
ES2019 spec-compliant String.prototype.trimLeft shim.
- String.prototype.trimLeft
- string
- ES7
- ES2019
- shim
- trim
- trimLeft
- trimStart
- trimRight
- trimEnd
- polyfill
- es-shim API
ES2019 spec-compliant String.prototype.trimLeft shim.
- String.prototype.trimRight
- string
- ES7
- ES2019
- shim
- trim
- trimLeft
- trimStart
- trimRight
- trimEnd
- polyfill
- es-shim API
string contains methods that aren't included in the vanilla JavaScript string such as escaping html, decoding html entities, stripping tags, etc.
Trim newlines from the start and/or end of a string
Deprecated. Utilities for ES3, most of which have been adopted or superseded in ES5.1. Adapted from Douglas Crockford's Remedial JavaScript
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Trim whitespace characters from the beginning and end of a string.
Validate & sanitize social links
- behance
- dev_to
- dribbble
- exercism
- expression
- github
- is-valid
- keybase
- links
- linktree
- manipulation
- View more