Search results
89 packages found
A module to truncate the string with the specify length; Safe with the emojis, URLs, and words.
Truncate a JSON string
- javascript
- json
- json-parser
- length
- library
- limit
- maximum
- nodejs
- parse
- parsing
- serialization
- serialize
- shortener
- size
- View more
Truncate the middle UTF-16 code units of a string to return a string having a specified length.
Human-friendly truncation preferring word boundaries and the middle of the string.
Truncate a string to a specified length.
Truncate a string in the middle to a specified length.
Cut a string if too long. Support CJK(漢字) and emoji❤️.
A function to shorten strings with options.
- truncate
- shorten
- cutting
- string
- options
- ellipsis
- helper
- function
- method
- vanilla js
- no dependencies
- independent
- es6
- es2015
truncates a html string without messing up the tags
Zero-dependency unicode-aware string tools
A colorful logger with browser-/environment-dependent formatting possibilities, table printing, object depth limiting, string- and array-truncating, etc.
The ultimate JavaScript string library
String truncation utility ...
A tool for defining a string representation of a number
Truncate strings in an array to the maximum total length evenly.
A tiny function for truncating a string which may containg ANSI escapes, with automatic terminal width detection.
Terminal ANSI-aware string fit to fixed width
Superbstring is a versatile JavaScript package that provides a comprehensive set of functions to manipulate strings for both frontend and backend applications.
- splitString
- joinString
- base64Enode
- compare
- base64Decode
- removeExtraSpaces
- removeAllSpaces
- removeAllSymbols
- duplicate
- reverse
- slugify
- truncate
- paraToSingleLine
- alphabetize
- View more
A lightweight toolkit for common string manipulation tasks.