Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

is-fullwidth-code-point

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Issues
File Explorer

Advanced tools

is-fullwidth-code-point

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

    4.0.0latest

Version published
Maintainers
1
Weekly downloads
69,531,797
decreased by-11.33%

Weekly downloads

Changelog

Source

Breaking

  • Require Node.js 12 2f913bc
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/is-fullwidth-code-point/compare/v3.0.0...v4.0.0

Readme

Source

is-fullwidth-code-point

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

Install

$ npm install is-fullwidth-code-point

Usage

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 of a character.


Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Keywords

FAQs

What is is-fullwidth-code-point?

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

Is is-fullwidth-code-point popular?

The npm package is-fullwidth-code-point receives a total of 53,552,550 weekly downloads. As such, is-fullwidth-code-point popularity was classified as popular.

Is is-fullwidth-code-point well maintained?

We found that is-fullwidth-code-point demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 16 Apr 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc