skip to package search or skip to sign in
❤
  • Pro
  • Teams
  • Pricing
  • Documentation
npm
Sign UpSign In

string-width
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published 7 years ago
  • Readme
  • Code Beta
  • 3 Dependencies
  • 2,018 Dependents
  • 21 Versions

Keywords

  • string
  • character
  • unicode
  • width
  • visual
  • column
  • columns
  • fullwidth
  • full-width
  • full
  • ansi
  • escape
  • codes
  • cli
  • command-line
  • terminal
  • console
  • cjk
  • chinese
  • japanese
  • korean
  • fixed-width

Install

Repository

Gitgithub.com/sindresorhus/string-width

Homepage

github.com/sindresorhus/string-width#readme

Fund this package

Version

1.0.2

License

MIT

Last publish

5 months ago

Collaborators

  • sindresorhus
Try on RunKit
Report malware

Footer

Support

  • Help
  • Advisories
  • Status
  • Contact npm

Company

  • About
  • Blog
  • Press

Terms & Policies

  • Policies
  • Terms of Use
  • Code of Conduct
  • Privacy