355 packages found

ES2019 spec-compliant String.prototype.trimEnd shim.

published 1.0.6 4 months ago
M
Q
P

ES2019 spec-compliant String.prototype.trimStart shim.

published 1.0.6 4 months ago
M
Q
P

ES2017 spec-compliant String.prototype.padEnd shim.

published 3.1.4 4 months ago
M
Q
P

ES2017 spec-compliant String.prototype.padStart shim.

published 3.1.4 4 months ago
M
Q
P

Strip ANSI escape codes from a string

published 7.0.1 2 years ago
M
Q
P
M
Q
P

Strip comments from JSON. Lets you use comments in your JSON files!

published 5.0.0 8 months ago
M
Q
P

Strip UTF-8 byte order mark (BOM) from a string

published 5.0.0 2 years ago
M
Q
P

ES5 spec-compliant shim for String.prototype.trim

published 1.2.7 4 months ago
M
Q
P

Remove final line feeds from a string

published 2.1.0 4 months ago
M
Q
P

Strip the final newline character from a string/buffer

published 3.0.0 2 years ago
M
Q
P

Strip redundant indentation and indent the string

published 4.0.0 2 years ago
M
Q
P

ES2019 spec-compliant String.prototype.trimLeft shim.

published 2.1.3 2 years ago
M
Q
P

ES2019 spec-compliant String.prototype.trimLeft shim.

published 2.1.3 2 years ago
M
Q
P

string contains methods that aren't included in the vanilla JavaScript string such as escaping html, decoding html entities, stripping tags, etc.

published 3.3.3 6 years ago
M
Q
P

Trim newlines from the start and/or end of a string

published 5.0.0 16 hours ago
M
Q
P

Deprecated. Utilities for ES3, most of which have been adopted or superseded in ES5.1. Adapted from Douglas Crockford's Remedial JavaScript

published 1.0.8 5 years ago
M
Q
P

Unicode aware string truncation that given a max byte size will truncate the string to or just below that size

published 1.0.0 7 years ago
M
Q
P

Trim whitespace characters from the beginning and end of a string.

published 0.0.2 6 months ago
M
Q
P

Validate & sanitize social links

published 1.10.0 5 months ago
M
Q
P