A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
[email protected] is safe to use (health: 73/100)
Get this data programmatically — free, no authentication.
curl https://depscope.dev/api/check/npm/fast-string-truncated-widthFirst published · 2024-02-27T18:30:55.248Z
Last updated · 2025-09-30T19:48:51.801Z