0.2.0 • Published 12 years ago
trunky v0.2.0
trunky - Basic truncation and string tools
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](https://github.com/serby/) follow me on [twitter](http://twitter.com/PabloSerbo)
## Licence
Licenced under the [New BSD License](http://opensource.org/licenses/bsd-license.php)