Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
cli-truncate
Truncate a string to a specific width in the terminal
lodash.truncate
The lodash method `_.truncate` exported as a module.
truncate-utf8-bytes
Truncate string to given length in bytes
semver-truncate
Truncate a semver version: `1.2.3` → `1.2.0`
killable
Keeps track of a server's open sockets so they can be destroyed at a moment's notice.
@turf/truncate
turf truncate module
unicode-byte-truncate
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
stringz
Zero-dependency unicode-aware string tools
log-chopper
truncates a log file
@stdlib/math-base-special-trunc
Round a double-precision floating-point number toward zero.
react-truncate
React component for truncating multi-line spans and adding an ellipsis
truncatise
Truncate HTML based on characters, words or paragraphs. Has the ability to strip tags.
ellipsize
Ellipsizes a string at the nearest whitespace character near the end of allowed length
voca
The ultimate JavaScript string library
react-truncate-markup
React component for truncating JSX markup
ansi-truncate
A tiny function for truncating a string that may contain ANSI escape sequences.
react-text-truncate
Truncate text for React.js
truncate-html
Truncate HTML and Keep Tags
shave
Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
text-clipper
Fast and correct clip functions for HTML and plain text.