{"_id":"vue3-text-clamp","_rev":"4-f7027e09cc7e6bf62bee960f6b067e2e","time":{"created":"2022-08-13T13:42:03.501Z","0.0.1":"2022-08-12T13:14:50.375Z","modified":"2023-07-23T08:20:56.290Z","0.1.0":"2022-08-13T13:42:04.687Z","0.1.1":"2022-08-13T14:03:36.308Z","0.1.2":"2023-07-23T08:20:56.097Z"},"name":"vue3-text-clamp","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"vue3-text-clamp","author":{"name":"Sherwin Shen"},"version":"0.1.0","type":"module","scripts":{"dev":"vite","build":"vue-tsc --noEmit && vite build","preview":"vite preview","build:lib":"vue-tsc --noEmit && rm -rf lib && npx rollup -c build/rollup.config.ts"},"main":"lib/text-clamp.js","module":"lib/text-clamp.esm.js","types":"lib/types/index.d.ts","license":"MIT","dependencies":{"resize-detector":"^0.3.0","vue":"^3.2.37"},"devDependencies":{"@highlightjs/vue-plugin":"^2.1.0","@rollup/plugin-node-resolve":"^13.3.0","@vitejs/plugin-vue":"^3.0.0","@vue/compiler-sfc":"^3.2.37","highlight.js":"^11.6.0","less":"^4.1.3","rollup":"^2.77.2","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.32.1","rollup-plugin-vue":"^6.0.0","spectre.css":"^0.5.9","typescript":"^4.6.4","vite":"^3.0.0","vue-i18n":"^9.2.2","vue-tsc":"^0.38.4"},"peerDependencies":{"resize-detector":"^0.3.0","vue":"^3.2.37"},"repository":{"type":"git","url":"git+https://github.com/sherwinshen/vue3-text-clamp.git"},"bugs":{"url":"https://github.com/sherwinshen/vue3-text-clamp/issues"},"homepage":"https://sherwinshen.github.io/vue3-text-clamp/#/","gitHead":"6b5957a4e5d3c51ffd0fe05e75378aa25c11d13f","description":"<p align=\"center\"><img src=\"./public/icon.svg\" alt=\"logo\" width=\"100\"></p> <h1 align=\"center\">Vue3 Text-Clamp</h1>","_id":"vue3-text-clamp@0.1.0","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-XmmFPKIMEZ3KQ6VMx4o1m7zoFDGN5JJez0gam2G5VZX2NB8V8hNjBAUbu+vs0/aitJw6HSSFq7ZNUU8FKrvNXw==","shasum":"e34ab56c8b6c96b2b1cb0dfbba6b74d0a9e86927","tarball":"https://registry.npmjs.org/vue3-text-clamp/-/vue3-text-clamp-0.1.0.tgz","fileCount":7,"unpackedSize":13238,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBn6cxWrCUcAdf/vAtZ4cbiCS8K9EmY3uqs/D7cgXI8SAiA1disCh1RuA8W7alvz0YwpFr3ZTXHv84YfYTSLlGh0Lw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi96osACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrr1Q//T3aAu4ZoFwD4yzJ0d0+NOC1zV4jZl/dheBDFyNWqFTt33aOx\r\nSHGb0/elT0xr36+WuvRS8RvsGFN9MSxWAhSFKhQ/PRIckigoJqr1zgolq+u5\r\nhQW3EPctb2eim7salDQ5ZKXImBRh2yUJ6yEil/NaKOeVEWL9jKYFPWm2CM/b\r\nQ13tKrpbevGksxB0gGNCJALs+n9wBHYi8EMxWc2tF4LP2bPU4awCNqRZPiHA\r\nEje3asPBer4wqilP7wq8HDeP77zGz/ZXvUiKTgxJ6g+mIrT3aCVMEARoWoG6\r\nBcJ23Q7ZqwaWomScTSeiRf5uOytjsuSknYQGERNfCbRRKLPDi5U/rwV+IT96\r\nlyM+EgBNh/llHcYTbN2yy2Ihj2fOtqWm7bPNCJdm53Rsvm9J50lby11W4JMs\r\nCZPd6N2u9IkABTsrQyQhA3WVFuGp82j60bghS8Ih1HMfNDhcK1EIdKYBfNE+\r\nabui5zfnZ+6/tNQVCVyTbcQDngs5QnnjaGVJmyKT1lvL7REciUHBMgGkNFjW\r\nJdjIgJwpfraysaKt0TOrgx+sfN+BMOIFSZM1PzyzJTKs4geqSZcfIM0vSm2G\r\nQmoSBsO+HqVb6aFaoQ0sVYypU1pFW+juGVYpAKnNI9Up9sdmHJYw7FI62BKZ\r\n30/ib2RgrYEZcOXT9GjzQRXSSEdNEliZaM4=\r\n=bmvt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sherwinshen","email":"306407158@qq.com"},"directories":{},"maintainers":[{"name":"sherwinshen","email":"306407158@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue3-text-clamp_0.1.0_1660398123502_0.9601559403722686"},"_hasShrinkwrap":false},"0.1.1":{"name":"vue3-text-clamp","author":{"name":"Sherwin Shen"},"description":"Vue3 component which allows you to ellipsis your multiline text.","version":"0.1.1","type":"module","scripts":{"dev":"vite","build":"vue-tsc --noEmit && vite build","preview":"vite preview","build:lib":"vue-tsc --noEmit && rm -rf lib && npx rollup -c build/rollup.config.ts"},"main":"lib/text-clamp.js","module":"lib/text-clamp.esm.js","types":"lib/types/index.d.ts","license":"MIT","dependencies":{"resize-detector":"^0.3.0","vue":"^3.2.37"},"devDependencies":{"@highlightjs/vue-plugin":"^2.1.0","@rollup/plugin-node-resolve":"^13.3.0","@vitejs/plugin-vue":"^3.0.0","@vue/compiler-sfc":"^3.2.37","highlight.js":"^11.6.0","less":"^4.1.3","rollup":"^2.77.2","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.32.1","rollup-plugin-vue":"^6.0.0","spectre.css":"^0.5.9","typescript":"^4.6.4","vite":"^3.0.0","vue-i18n":"^9.2.2","vue-tsc":"^0.38.4"},"peerDependencies":{"resize-detector":"^0.3.0","vue":"^3.2.37"},"repository":{"type":"git","url":"git+https://github.com/sherwinshen/vue3-text-clamp.git"},"bugs":{"url":"https://github.com/sherwinshen/vue3-text-clamp/issues"},"homepage":"https://sherwinshen.github.io/vue3-text-clamp/#/","keywords":["text-clamp","vue3","text-overflow","ellipsis","typescript"],"gitHead":"2741a3df457a282d767fbcfc737019f2db04e519","_id":"vue3-text-clamp@0.1.1","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-l/30RvXLkw50axAjswAK1DmvbUc5Oyhq9GkvD98p8pykrLkIajRi3evVsMnahMBK0O7+EGIK9RbIOKPyRfuw7w==","shasum":"a500025e350aaaa4023a2cfb5e7092a2186d9ade","tarball":"https://registry.npmjs.org/vue3-text-clamp/-/vue3-text-clamp-0.1.1.tgz","fileCount":7,"unpackedSize":13637,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICWFI8g3xKJISravCZs3zYAGI/rHEfT8XVwoOBVYPUTdAiBk6Mdu1hbNJVszKGxf7hRCDLNKYAcW701QDrA9CdGWZg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9684ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpB/w//WKKB7E9pTRbT9O/bBvjc1VaVPn0fjNiM+4Q+PUMRK4LdCb3a\r\n6vUJnYwJavhk5TE0UfS8QsxI3jduU+WWHN60UvkTV+F8b4lBPWv7u+R7+plX\r\nc/e+szqr4i1Ecu+YplFIV3RKA60NCp0zXo0Wal0eouT2IKlb/Eca8wjh6TVF\r\neSnEqtMd7gd49Rm+6xKcbpD6bsdFn7JlNfBFoWP2S3gdhEhMIQFZ3DR08huq\r\n6E+mWUv+BdxsNFr//HkQH0dymsBtY3Ksj5++/pwH2zs9NQhVSoa1M/AY5rMz\r\n3dHWE1EItJI8Bq68r4xyvno/Nf0GAsb9iuqif34hNIlZXhyGcPfNXegNL8+H\r\nPgXFohxLLFCEPIPfAFkBIQcwqMHjdXx3UQBgRLXAGLDsfMPm4JEtOSabMvo2\r\nY6cx2B54+2XL8MKg59GszXcyLKLS0dVigb6hOqJkT9GUX4y6zRbKTPMFcbuJ\r\nJftbl6emDi0TOwZ7CsUQsVjCA33kg9xGOffKqg4rIX/ya3HsEx6uG9ghgRjl\r\n2P+L8708X5dddJln+aVtcNBt/m+4Y3B5hByI+LMyHU7nv2C7HOQFVkFwBZgF\r\nRMAPwyvOLEriIHxUOKiZOEvifnaLM/YphdCIVL3utJPY3oleqDTSdwgHlk3U\r\nf7EC88f5SoIP7g8qHeniawyFC+wmr6ajZ2U=\r\n=4ULh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sherwinshen","email":"306407158@qq.com"},"directories":{},"maintainers":[{"name":"sherwinshen","email":"306407158@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue3-text-clamp_0.1.1_1660399416094_0.9404499077924879"},"_hasShrinkwrap":false},"0.1.2":{"name":"vue3-text-clamp","author":{"name":"Sherwin Shen"},"description":"Vue3 component which allows you to ellipsis your multiline text.","version":"0.1.2","type":"module","scripts":{"dev":"vite","build":"vue-tsc --noEmit && vite build","preview":"vite preview","build:lib":"vue-tsc --noEmit && rm -rf lib && npx rollup -c build/rollup.config.ts"},"main":"lib/text-clamp.js","module":"lib/text-clamp.esm.js","types":"lib/types/index.d.ts","license":"MIT","dependencies":{"resize-detector":"^0.3.0","vue":"^3.2.37"},"devDependencies":{"@highlightjs/vue-plugin":"^2.1.0","@rollup/plugin-node-resolve":"^13.3.0","@vitejs/plugin-vue":"^3.0.0","@vue/compiler-sfc":"^3.2.37","highlight.js":"^11.6.0","less":"^4.1.3","rollup":"^2.77.2","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.32.1","rollup-plugin-vue":"^6.0.0","spectre.css":"^0.5.9","typescript":"^4.6.4","vite":"^3.0.0","vue-i18n":"^9.2.2","vue-tsc":"^0.38.4"},"peerDependencies":{"resize-detector":"^0.3.0","vue":"^3.2.37"},"repository":{"type":"git","url":"git+https://github.com/sherwinshen/vue3-text-clamp.git"},"bugs":{"url":"https://github.com/sherwinshen/vue3-text-clamp/issues"},"homepage":"https://sherwinshen.github.io/vue3-text-clamp/#/","keywords":["text-clamp","vue3","text-overflow","ellipsis","typescript"],"gitHead":"2262711e38ecbe0a3412a555c9b914238f0fa9e2","_id":"vue3-text-clamp@0.1.2","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-896tGhkwaDObKL4gUv9KhR6GQQYzIzut77P2jmfUoTaJ5lJP6kLMfCUEKwGQWbDgXXkqDcoE/QV/UtP4Jn7r3Q==","shasum":"b698eb393048aae3c25f1a826d40abfddc7eab99","tarball":"https://registry.npmjs.org/vue3-text-clamp/-/vue3-text-clamp-0.1.2.tgz","fileCount":7,"unpackedSize":13648,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSgk1rU/ntvLEWgcXb2OzNQnBtUakZxJKG++zGq6WxagIhAKT66vpuv8kPgzzsKuHNhkdJrJoQsCfwT0xmFf/pbZ4X"}]},"_npmUser":{"name":"sherwinshen","email":"sherwin_sw@163.com"},"directories":{},"maintainers":[{"name":"sherwinshen","email":"sherwin_sw@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue3-text-clamp_0.1.2_1690100455912_0.6058047490131699"},"_hasShrinkwrap":false}},"maintainers":[{"name":"sherwinshen","email":"sherwin_sw@163.com"}],"description":"Vue3 component which allows you to ellipsis your multiline text.","homepage":"https://sherwinshen.github.io/vue3-text-clamp/#/","repository":{"type":"git","url":"git+https://github.com/sherwinshen/vue3-text-clamp.git"},"author":{"name":"Sherwin Shen"},"bugs":{"url":"https://github.com/sherwinshen/vue3-text-clamp/issues"},"license":"MIT","readme":"\n\n<p align=\"center\"><img src=\"./public/icon.svg\" alt=\"logo\" width=\"100\"></p>\n<h1 align=\"center\">Vue3 Text-Clamp</h1>\n\n***Vue3** component which allows you to ellipsis your multiline text*, see more 👉 [homepage](https://sherwinshen.github.io/vue3-text-clamp/#/).\n\n## Features\n\n- Clamps text with max lines and/or max height. No need to specify line height.\n- Place elllipsis at the end/middle/start of the clamped text and customize elllipsis string.\n- Automatically updates upon layout change.\n- The clamped text can be expanded/collapsed.\n- Customizable and responsive content before/after clamped text.\n\n## Install and Usage\n\n```shell\n$ npm install --save vue3-text-clamp\n```\n\n ↓ Full import\n\n```typescript\nimport { createApp } from 'vue';\nimport TextClamp from 'vue3-text-clamp';\nimport App from './App.vue';\n\ncreateApp(App).use(TextClamp).mount('#app');\n```\n\n↓ Manually import\n\n```vue\n<template>\n  <text-clamp text='hello world' :max-lines='2' />\n</template>\n\n<script lang='ts' setup>\nimport TextClamp from 'vue3-text-clamp';\n</script>\n```\n\n## Links\n\n- [Home page](https://sherwinshen.github.io/vue3-text-clamp/#/)\n- [Vue2 version](https://vue-clamp.vercel.app/)\n\n\n## License\n\nMIT License (MIT). Please see [License File](./LICENSE) for more information.\n","readmeFilename":"README.md","keywords":["text-clamp","vue3","text-overflow","ellipsis","typescript"]}