# is-fullwidth-code-point

> Check if the character represented by a given Unicode code point is fullwidth

Latest version **5.1.0** (published 2025-08-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-fullwidth-code-point
pnpm add is-fullwidth-code-point
yarn add is-fullwidth-code-point
bun add is-fullwidth-code-point
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.1.0 |
| Published | 2025-08-31 |
| First published | 2015-07-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=18 |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51 |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | fullwidth, full-width, full, width, unicode, character, string, codepoint, code, point, is, detect, check, east-asian-width |

## Links

- npm: https://www.npmjs.com/package/is-fullwidth-code-point
- Repository: https://github.com/sindresorhus/is-fullwidth-code-point
- Homepage: https://github.com/sindresorhus/is-fullwidth-code-point#readme
- Issues: https://github.com/sindresorhus/is-fullwidth-code-point/issues
- Funding: https://github.com/sponsors/sindresorhus
- npm.io page: https://npm.io/package/is-fullwidth-code-point

## Dependencies (1)

- [get-east-asian-width](https://npm.io/package/get-east-asian-width.md) ^1.3.1

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 5.1.0 (latest) — 2025-08-31
- 5.0.0 — 2023-10-28
- 4.0.0 — 2021-04-16
- 3.0.0 — 2019-03-18
- 2.0.0 — 2016-09-22
- 1.0.0 — 2015-07-16

## README

# is-fullwidth-code-point

> Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)

## Install

```sh
npm install is-fullwidth-code-point
```

## Usage

```js
import isFullwidthCodePoint from 'is-fullwidth-code-point';

isFullwidthCodePoint('谢'.codePointAt(0));
//=> true

isFullwidthCodePoint('a'.codePointAt(0));
//=> false
```

## API

### isFullwidthCodePoint(codePoint)

#### codePoint

Type: `number`

The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.

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