m-truncate
Version:
`mTruncate` is a **lightweight, flexible, and fully standalone Angular directive** that truncates text dynamically and optionally displays a **tooltip** with the full text. It supports **character-based**, **line-based**, and **width-based** truncation
36 lines • 726 B
JSON
{
"name": "m-truncate",
"version": "1.0.6",
"license": "MIT",
"keywords": [
"mTruncate",
"truncate",
"text-truncate",
"text-ellipsis",
"textCut",
"clipText",
"smartTruncate",
"AutoTrim"
],
"peerDependencies": {
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0"
},
"dependencies": {
"tslib": "^2.3.0"
},
"sideEffects": false,
"module": "fesm2022/m-truncate.mjs",
"typings": "index.d.ts",
"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"types": "./index.d.ts",
"esm2022": "./esm2022/m-truncate.mjs",
"esm": "./esm2022/m-truncate.mjs",
"default": "./fesm2022/m-truncate.mjs"
}
}
}