trunky

String truncation

npm install trunky
1 downloads in the last day
6 downloads in the last week
32 downloads in the last month

trunky - Basic truncation and string tools

build status

Installation

  npm install trunky

Usage

'''js

var copy = '';// Load copy var truncate = require('truncate').truncate;

truncate(copy, 10);

Will truncate and add an ellipsis

```

Credits

Paul Serby follow me on twitter

Licence

Licenced under the New BSD License

npm loves you