2.0.16 • Published 1 year ago
html-ellipsis v2.0.16
html-ellipsis
Truncates a html string without messing up HTML tags
npm install --save html-ellipsisExample
var ellipsis = require('html-ellipsis');
var text = 'Lorem <span class="ipsum"><b>ips<i>um</i></b></span>';
console.log(ellipsis(text, 11, true)); // Lorem <span class="ipsum"><b>ips<i>u</i></b></span>…License
See LICENSE
2.0.15
1 year ago
2.0.16
1 year ago
2.0.13
2 years ago
2.0.14
2 years ago
2.0.12
2 years ago
2.0.11
2 years ago
2.0.9
2 years ago
2.0.10
2 years ago
2.0.8
2 years ago
2.0.7
2 years ago
2.0.6
2 years ago
2.0.5
4 years ago
2.0.3
4 years ago
2.0.2
4 years ago
2.0.4
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.1.1
11 years ago
1.1.0
12 years ago
1.0.0
12 years ago