max_liu b7ab7c8514 chore: 更新node_modules依赖文件 2 weeks ago
..
index.d.ts b7ab7c8514 chore: 更新node_modules依赖文件 2 weeks ago
index.js b7ab7c8514 chore: 更新node_modules依赖文件 2 weeks ago
license b7ab7c8514 chore: 更新node_modules依赖文件 2 weeks ago
package.json b7ab7c8514 chore: 更新node_modules依赖文件 2 weeks ago
readme.md b7ab7c8514 chore: 更新node_modules依赖文件 2 weeks ago

readme.md

is-fullwidth-code-point Build Status

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

Install

$ npm install is-fullwidth-code-point

Usage

const isFullwidthCodePoint = require('is-fullwidth-code-point');

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

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

API

isFullwidthCodePoint(codePoint)

codePoint

Type: number

The code point of a character.

License

MIT © Sindre Sorhus