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
A service for calculating, managing, truncating openai prompt tokens
Human-friendly truncation preferring word boundaries and the middle of the string.
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.
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
Provides `Truncate`, `MiddleTruncate` and `ShowMore` React components for truncating multi-line spans and adding an ellipsis.
Truncate a string in the middle to a specified length.
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 to a specified length.
Keeps track of a server's open sockets so they can be destroyed at a moment's notice.
React component for adding an ellipsis to the middle of a line of text.