2.1.3 • Published 5 years ago

dots-3 v2.1.3

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

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.

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

1.0.0

5 years ago