Truncate a string to a specific width in the terminal
Truncate a semver version: `1.2.3` → `1.2.0`
Truncate string to given length in bytes
Keeps track of a server's open sockets so they can be destroyed at a moment's notice.
Easy postgres cleaner for node.
Shorten string by character length with word boundary supported
Customizable React component that can shorten long text using str_shorten library for better display
Truncate HTML and Keep Tags
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Truncates a string to a charLimit, ignoring specified markup tags, with an optional "pretty" ellipsis ending.
Drop beginning bytes in a stream
Zero-dependency unicode-aware string tools
Ellipsizes a string at the nearest whitespace character near the end of allowed length
Truncate HTML based on characters, words or paragraphs. Has the ability to strip tags.
React component for truncating multi-line spans and adding an ellipsis
A small library that truncates a string. It can insert or append an ellipsis at any desired position of the truncated result.
React component for truncating JSX markup
Fast and correct clip functions for HTML and plain text.
Common typescript ready prototypes available in both es5 and es6
powered by npms.io 🚀