JSnpmTrending
string-width
PWR99
STB63
HYP73
Bus Factor 1Sustainable

Measures strings in terminal columns, where emoji count as two.

$ npm install string-width0 minted

Nobody is hunting this one yet.

JSnpmTrendingsindresorhus · 134

string-width

Measures strings in terminal columns, where emoji count as two.

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

Minted
0
0 collectors · 0 holo · 0 gold
Genesis #001
Unclaimed
First pull on Earth
Discoverer
Launch pool
Season 1
Real-world stats
Downloads / month
3.0B
GitHub stars
532
Dependent repos
1.1M
Versions
32
First release
2015-07-16
Latest release
2026-11-11
Maintainers
1
License
MIT
In battle
HP
93
ATK
54
  • Bus Factor 1 One maintainer. +20% ATK, −10% HP.
  • Sustainable Has funding links. Heals 6% max HP after every exchange.
×1.5 against Python · weak to Elixir
Runs in every browser on Earth. Python is still activating its venv.

None for sale.

Activity
No big pulls yet.