Search results

275 packages found

Fast, intelligent Javascript text truncation

published 1.1.2 8 years ago
M
Q
P

stream which truncates input after N bytes

published 1.0.2 8 years ago
M
Q
P

Truncate HTML based on characters, words or paragraphs. Has the ability to strip tags.

published 0.0.8 5 years ago
M
Q
P

Truncate a semver version: `1.2.3` → `1.2.0`

published 3.0.0 3 years ago
M
Q
P

A tiny function for truncating a string which may containg ANSI escapes, with automatic terminal width detection.

published 1.0.2 2 years ago
M
Q
P

Human-friendly truncation preferring word boundaries and the middle of the string.

published 1.3.0 4 months ago
M
Q
P

A service for calculating, managing, truncating openai prompt tokens

published 2.3.3 3 months ago
M
Q
P

A colorful logger with browser-/environment-dependent formatting possibilities, table printing, object depth limiting, string- and array-truncating, etc.

published 1.0.11 2 months ago
M
Q
P

A function to shorten strings with options.

published 2.2.0 7 years ago
M
Q
P

Excerpting text of given words or characters from HTML.

published 0.0.3 6 years ago
M
Q
P

Truncates a string to a charLimit, ignoring specified markup tags, with an optional "pretty" ellipsis ending.

published 1.0.2 5 years ago
M
Q
P

Provides `Truncate`, `MiddleTruncate` and `ShowMore` React components for truncating multi-line spans and adding an ellipsis.

published 0.4.1 a month ago
M
Q
P
M
Q
P

Truncate a string in the middle to a specified length.

published 0.2.1 3 months ago
M
Q
P

Round a single-precision floating-point number toward zero.

published 0.2.1 3 months ago
M
Q
P

Truncate a list of words with a specified width

published 1.0.2 2 years ago
M
Q
P

Truncate a string to a specified length.

published 0.2.1 3 months ago
M
Q
P

React component for adding an ellipsis to the middle of a line of text.

published 1.0.3 10 months ago
M
Q
P

Round a numeric value to the nearest power of two toward zero.

published 0.2.1 3 months ago
M
Q
P

Round a numeric value to the nearest power of 10 toward zero.

published 0.2.1 3 months ago
M
Q
P