2.1.3 • Published 5 years ago
dots-3 v2.1.3
dots-3
Slim down a string with ...
Usage
Install the package...
$ npm i dots-3 --save
...then...
const dots3 = require('dots-3'); // or import dots3 from 'dots-3'
dots3('The quick brown fox jumped over the lazy dog.', 9);
// -> The quic…
dots3('The quick brown fox jumped over the lazy dog.', 3000);
// -> The quick brown fox jumped over the lazy dog.
dots3('What? Is that a monkey for a pet?', 5);
// -> What? …
Hope this package helps you!
Found a bug? Open an issue, or ping me on Discord: Vehmloewff#0714.