Search results
298 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Truncate a string to a specific width in the terminal
The lodash method `_.truncate` exported as a module.
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.
turf truncate module
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Zero-dependency unicode-aware string tools
Round a double-precision floating-point number toward zero.
- stdlib
- stdmath
- mathematics
- math
- math.trunc
- trunc
- truncate
- round
- integer
- number
- special function
- special
- function
- polyfill
truncates a log file
React component for truncating multi-line spans and adding an ellipsis
Truncate HTML based on characters, words or paragraphs. Has the ability to strip tags.
Ellipsizes a string at the nearest whitespace character near the end of allowed length
React component for truncating JSX markup
The ultimate JavaScript string library
A tiny function for truncating a string that may contain ANSI escape sequences.
Truncate text for React.js
Truncate HTML and Keep Tags
Fix up the end of a partial JSON string to create valid JSON.
Fast and correct clip functions for HTML and plain text.