tiny-truncate

npmv1.0.5

A tiny function for truncating a string which may containg ANSI escapes, with automatic terminal width detection.

License MITpermissive6 versions1 maintainers1 deps
fabiospampinato/tiny-truncate
46
/ 100
Health
safe to use

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

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

Bundle & TypeScript

📦

Bundle Size

2.6 KBminified
1.4 KB gzipped
1 direct dependencies
side effects
🌟

TypeScript

10/10typed
bundled

Health History

Dependency Tree

License Audit

Dependencies (1)
API access

Get this data programmatically — free, no authentication.

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

First published · 2022-05-06T13:24:37.073Z

Last updated · 2025-08-22T15:32:56.424Z