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

2.1.1 • Public • Published 6 years ago
  • Readme
  • Code Beta
  • 2 Dependencies
  • 2,023 Dependents
  • 21 Versions

Readme

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

Package Sidebar

Install

Repository

Gitgithub.com/sindresorhus/string-width

Homepage

github.com/sindresorhus/string-width#readme

Fund this package

Version

2.1.1

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