Developer Tools

string-width

Open Source Updated 32d ago

Get the visual width of a string - the number of columns required to display it

go get github.com/sindresorhus/string-width

Did you build this?

Claim your listing to see exactly how many AI agents recommend this tool, your success rate, and more. Free, no commission, no fees.

Claim This Listing

Get the visible display width of a string — accounts for wide Unicode characters and ANSI escape codes.

Save tools & get AI recommendations

Free forever. No credit card required.

Sign Up Free
Visit Website → ☆ Bookmark

Listed for free · No commission · Claim this listing

6 developers visited via IndieStack this month
𝕏 Share
npmstringwidthunicodeterminalvisual
View on GitHub ★ 521JavaScript
Last commit 62d ago1 open issues
Using this saves ~50k tokens vs building from scratch
Something wrong? Log in to report.
Get weekly indie picks straight to your inbox