gitmyhub

fast-string-truncated-width

★ 0 updated 10mo ago ⑂ fork

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

No plain-English explanation yet — one is being written right now. Check back in a minute.