ansi-truncate

npmv1.4.0

A tiny function for truncating a string that may contain ANSI escape sequences.

License MITpermissive8 versions1 maintainers1 deps100,505 weekly dl
fabiospampinato/ansi-truncate
60
/ 100
Health
safe to use

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

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

Bundle & TypeScript

🌟

TypeScript

10/10typed
bundled

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/ansi-truncate

First published · 2022-05-06T12:52:06.489Z

Last updated · 2025-08-22T15:23:21.506Z