Search results
274 packages found
truncates a html string without messing up the tags
A Vue.js V3/2 plugin for truncating text with a 'Read More' button to expand the text.
Easy postgres cleaner for node.
Fast, intelligent Javascript text truncation
Truncate HTML based on characters, words or paragraphs. Has the ability to strip tags.
Truncate a semver version: `1.2.3` → `1.2.0`
stream which truncates input after N bytes
Human-friendly truncation preferring word boundaries and the middle of the string.
A service for calculating, managing, truncating openai prompt tokens
A colorful logger with browser-/environment-dependent formatting possibilities, table printing, object depth limiting, string- and array-truncating, etc.
A function to shorten strings with options.
- truncate
- shorten
- cutting
- string
- options
- ellipsis
- helper
- function
- method
- vanilla js
- no dependencies
- independent
- es6
- es2015
Excerpting text of given words or characters from HTML.
Truncates a string to a charLimit, ignoring specified markup tags, with an optional "pretty" ellipsis ending.
Provides `Truncate`, `MiddleTruncate` and `ShowMore` React components for truncating multi-line spans and adding an ellipsis.
Useful additions to inbuilt fs module.
- extra
- fs
- accessAsync
- appendFileAsync
- chmodAsync
- chownAsync
- copyFileAsync
- cpAsync
- lchownAsync
- linkAsync
- lstatAsync
- lutimesAsync
- mkdirAsync
- mkdtempAsync
- View more
Truncate a list of words with a specified width
Truncate a string in the middle to a specified length.
Round a single-precision floating-point number toward zero.
- stdlib
- stdmath
- mathematics
- math
- math.trunc
- trunc
- truncate
- round
- integer
- number
- special function
- special
- function
- polyfill
Truncate a string to a specified length.
React component for adding an ellipsis to the middle of a line of text.