Search results

295 packages found

Truncate HTML and Keep Tags

published version 1.2.1, a month ago66 dependents licensed under $MIT
192,318

Truncate multiline HTML with React

published version 0.1.7, 7 years ago3 dependents licensed under $MIT
6,347

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

published version 0.0.8, 6 years ago14 dependents licensed under $MIT
270,963

Fast and correct clip functions for HTML and plain text.

published version 2.2.0, 3 years ago22 dependents licensed under $MIT
88,693

truncates a html string without messing up the tags

published version 2.0.16, 2 months ago2 dependents licensed under $MIT
2,503

Tag-safe truncation for HTML and XML. Works by word!

published version 0.0.8, 11 years ago33 dependents licensed under $BSD
18,940

HTML save string utilities

published version 3.0.0, 4 years ago0 dependents licensed under $MIT
6,363

Shave is a javascript plugin that truncates multi-line text within a html element based on set max height

published version 5.0.4, a year ago31 dependents licensed under $MIT
105,671

Expand and collapse HTML content

published version 2.0.2, 3 years ago3 dependents licensed under $MIT
6,206

Tag-safe truncation for HTML and XML. Works by word!

published version 1.1.2, 2 months ago10 dependents licensed under $BSD
2,236

A React component which truncates lines of HTML.

published version 1.15.7, 5 years ago1 dependents licensed under $MIT
1,307

Excerpting text of given words or characters from HTML.

published version 0.0.3, 7 years ago5 dependents licensed under $MIT
351

Truncate a string to a specific width in the terminal

published version 4.0.0, a year ago404 dependents licensed under $MIT
106,236,831

truncate html to a specified length but maintain the structure

published version 1.0.17, 2 years ago0 dependents licensed under $MIT
94

turf truncate module

published version 7.2.0, 4 months ago25 dependents licensed under $MIT
3,135,863

The lodash method `_.truncate` exported as a module.

published version 4.4.2, 9 years ago293 dependents licensed under $MIT
43,274,741

Converts special characters in a string to the corresponding HTML entities, then truncates the resulting string carefully (HTML entities are not cut in the middle).

published version 1.0.0, 8 years ago1 dependents licensed under $MIT
105

Truncate string to given length in bytes

published version 1.0.2, 9 years ago52 dependents licensed under $WTFPL
10,522,925

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

published version 3.0.0, 4 years ago20 dependents licensed under $MIT
10,392,731

Line clamp a DOM element in vanilla JavaScript

published version 1.0.0, 6 years ago7 dependents licensed under $MIT
27,080