ellipsize
Version:
Ellipsizes a string at the nearest whitespace character near the end of allowed length
35 lines (34 loc) • 862 B
JSON
{
"name": "ellipsize",
"version": "0.5.1",
"description": "Ellipsizes a string at the nearest whitespace character near the end of allowed length",
"main": "src/index.js",
"files": [
"src/index.js"
],
"scripts": {
"test": "eslint && prettier -c **/*.js && tape test/*"
},
"repository": {
"type": "git",
"url": "git@github.com:mvhenten/ellipsize.git"
},
"keywords": [
"ellipsize",
"ellipsis",
"truncate",
"shorten",
"string"
],
"author": "Matthijs van Henten",
"license": "MIT",
"bugs": {
"url": "https://github.com/mvhenten/ellipsize/issues"
},
"homepage": "https://github.com/mvhenten/ellipsize",
"devDependencies": {
"eslint": "^8.7.0",
"prettier": "^2.5.1",
"tape": "^5.4.1"
}
}