2.0.0 • Published 5 years ago
text-abstract v2.0.0
text-abstract
Module to change veryLongStrings to veryLon...
Install
npm install text-abstract
Usage
const textAbstract = require("text-abstract");
const veryLongString = hippopotomonstrosesquippedaliophobia;
const length = 5
const shortString = textAbstract(veryLongString, length);
console.log(shortString);
//-> hippo...