fast-string-truncated-width

npmv3.0.3

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

License MITpermissive10 versions1 maintainers0 deps
fabiospampinato/fast-string-truncated-width
43
/ 100
Health
safe to use

[email protected] is safe to use (health: 43/100)

Health breakdown0 – 100
10/25
maintenance
0/20
popularity
25/25
security
6/15
maturity
2/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

2.3 KBminified
1.2 KB gzipped
0 direct dependencies
side effects
🌟

TypeScript

10/10typed
bundled
Quality signals
Publish security
npm signed

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/fast-string-truncated-width

First published · 2024-02-27T18:30:55.248Z

Last updated · 2025-09-30T19:48:51.801Z