Package Usage: npm: fast-string-truncated-width
A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
2 versions
Latest release: plus de 2 ans ago
67 759 downloads last month
View more package details: https://packages.ecosystem.code.gouv.fr/registries/npmjs.org/packages/fast-string-truncated-width