Showing 1-20 of 370,089 packages
Trim newlines from the start and/or end of a string
Remove spaces and tabs around line-breaks
Slugifies a String
Trim whitespace characters from the beginning and end of a string.
Remove final line feeds from a string
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Similar to String#trim() but removes only newlines
Spacetrim is trimming string from all 4 sides.
Removes whitespace and line-terminator characters from buffer edges
Like String.trim() but you can choose granularly what to trim
A tiny library for trimming whitespace from a canvas element
Fastest HTML entities encode/decode library.
ES5 spec-compliant shim for String.prototype.trim
Get the visual width of a string - the number of columns required to display it
A JavaScript library that breaks strings into their individual user-perceived characters (including emojis!)
Trim whitespace characters from the beginning and end of a string.
Trim the whitespace within an array of GLSL tokens
QRCode / 2d Barcode api with both server side and client side support using canvas
A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.
a glob matcher in javascript