repo
replacements.fyi

// package

string-width

type: "module"

// preferences

// replacements (2)

fast-string-width

Community choice

This package provides equivalent functionality and has been flagged as more performant.

Bun.stringWidth

Available natively

This feature is available natively by using Bun.stringWidth. No third-party package needed.