Trim characters from string
Slugifies a String
Remove spaces and tabs around line-breaks
Get the line and column number of a specific character in a string
Trim newlines from the start and/or end of a string
ES5 spec-compliant shim for String.prototype.trim
Remove final line feeds from a string
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Spacetrim is trimming string from all 4 sides.
Similar to String#trim() but removes only newlines
List of legacy HTML named character references that don’t need a trailing semicolon
Decode named character references
Map of named character references
Map of named character references from HTML 4
Map of invalid numeric character references to their replacements, according to HTML
micromark utility to handle character codes
Like String.trim() but you can choose granularly what to trim
A tiny library for trimming whitespace from a canvas element
micromark utility to classify whether a character is whitespace or punctuation
POSIX character classes for creating regular expressions.
Trim the whitespace within an array of GLSL tokens
CLI for the json-2-csv package
micromark utility to decode numeric character references
TailwindCSS leading-trim utility classes.
This gem provides methods for trimming spaces.
HtmlClipping generates excerpts from an HTML page that has a link pointing to a particular URI. It removes most HTML markup, bolds the link text, and trims the resulting text to a fixed number of characters. I developed it to help me track referers to my website, though I suppose it might have other uses.
Diff and patch tables
Diff and patch tables