use-truncate-from-middle
MITReact hook which dynamically calculates the maximum number of characters that fit into an HTML element and truncates the text from middle with given middle chars.
85
Security score
0 known advisories in v1.2.0
Weekly downloads
—
Unpacked size
20.3 kB
Dependencies
1
Last publish
4 years ago
Security advisories
No known vulnerabilities affect v1.2.0.