Extra Credit

fast-string-truncated-width

A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.

$npm install fast-string-truncated-width

Official docs outline

Extra Credit builds an outline of fast-string-truncated-width's docs the first time your work uses it. Until then, start at the official documentation.

All 9,484