Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
strip-ansi
Strip ANSI escape codes from a string
strip-bom
Strip UTF-8 byte order mark (BOM) from a string
strip-json-comments
Strip comments from JSON. Lets you use comments in your JSON files!
strip-final-newline
Strip the final newline character from a string or Uint8Array
string.prototype.trimend
ES2019 spec-compliant String.prototype.trimEnd shim.
string.prototype.trim
ES5 spec-compliant shim for String.prototype.trim
string.prototype.trimstart
ES2019 spec-compliant String.prototype.trimStart shim.
normalize-url
Normalize a URL
redent
Strip redundant indentation and indent the string
trim-newlines
Trim newlines from the start and/or end of a string
trim-lines
Remove spaces and tabs around line-breaks
strip-outer
Strip a substring from the start/end of a string
string.prototype.padend
ES2017 spec-compliant String.prototype.padEnd shim.
trim-repeated
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
remedial
Deprecated. Utilities for ES3, most of which have been adopted or superseded in ES5.1. Adapted from Douglas Crockford's Remedial JavaScript
trim-trailing-lines
Remove final line feeds from a string
string.prototype.padstart
ES2017 spec-compliant String.prototype.padStart shim.
strip-bom-stream
Strip UTF-8 byte order mark (BOM) from a stream
string.prototype.trimright
ES2019 spec-compliant String.prototype.trimLeft shim.
string.prototype.trimleft
ES2019 spec-compliant String.prototype.trimLeft shim.