UNPKG

@tvanc/lineclamp

Version:

Limit an element's text to a given height or number of lines.

47 lines (46 loc) 1.16 kB
{ "name": "@tvanc/lineclamp", "version": "0.2.0", "description": "Limit an element's text to a given height or number of lines.", "module": "dist/esm.js", "main": "dist/index.js", "unpkg": "dist/esm.min.js", "scripts": { "test": "browser-sync start -s \"./\" -f \"./test/*\" \"./src/LineClamp.js\" --startPath \"test/test.html\"", "prepublish": "rollup -c" }, "repository": { "type": "git", "url": "git+https://github.com/tvanc/lineclamp.git" }, "keywords": [ "clamp", "lineclamp", "line-clamp", "line clamp", "textclamp", "text-clamp", "text clamp", "max lines", "text height" ], "author": "Travis Van Couvering <travis@tvanc.com> (https://tvanc.com)", "license": "ISC", "homepage": "https://github.com/tvanc/lineclamp", "bugs": { "url": "https://github.com/tvanc/lineclamp/issues" }, "directories": { "test": "test", "lib": "dist" }, "devDependencies": { "browser-sync": "^2.27.7", "chai": "^4.3.6", "chai-spies": "^1.0.0", "mocha": "^9.2.0", "prettier": "^2.5.1", "rollup": "^2.67.2", "rollup-plugin-terser": "^7.0.2" } }