# unicode-display-width

> Measure how many terminal columns a string takes, with CJK, emoji, combining marks and ANSI escapes handled, based on the official Unicode Character Database

Latest version **1.2.0** (published 2026-11-27) · MIT license · 0 weekly downloads

_The full health report (score, vulnerabilities, README, dependency tree, version history) is being computed; this document will grow once it lands._

## Install

```sh
npm install unicode-display-width
pnpm add unicode-display-width
yarn add unicode-display-width
bun add unicode-display-width
```

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2026-11-27 |
| First published | 2026-11-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 12.6 KB |
| Author | Aviv Keller |
| Maintainers | avivkeller |
| Keywords | unicode, ucd, string-width, wcwidth, terminal, east-asian-width, emoji, cli |

## Links

- npm: https://www.npmjs.com/package/unicode-display-width
- Repository: https://github.com/avivkeller/unicode-packages
- Homepage: https://github.com/avivkeller/unicode-packages/tree/main/packages/ucd/display-width#readme
- npm.io page: https://npm.io/package/unicode-display-width

---
_Source: https://npm.io/package/unicode-display-width · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
