This package provides a function to check whether a given Unicode code point represents a fullwidth character. It is useful for text formatting, alignment, or validation when you need to distinguish fullwidth from non-fullwidth characters.
Project status
- The source appears actively maintained, with a recent update on 2025-08-31, and the next most recent major update in 2023-10-28, indicating ongoing maintenance rather than a one-off change.
- The apparent update cadence is roughly 2 years between the major releases (v4.0.0 in 2021, v5.0.0 in 2023), with an additional patch-level update v5.1.0 shortly after v5.0.0 (about 10 months later than 2023-10, and within weeks of 2025-08-31).
AI summary generated
Recent updates
v5.1.0
v5.1.0 is described as a tree-shaking improvement. The code changes also modify the underlying width-detection logic by switching from a single helper call to two different helpers from get-east-asian-width, and it bumps the dependency version.
v5.0.0
v5.0.0 raises the minimum supported Node.js version to 18 and updates fullwidth detection to use more recent Unicode width data (via get-east-asian-width). The core implementation is no longer based on hardcoded East Asian width code point ranges.
Breakingv4.0.0
v4.0.0 marks a major release that shifts the package to a pure ESM-only distribution and raises the supported Node.js engine requirement. The core fullwidth code point logic remains largely the same, but there are subtle input validation and packaging behavior changes in the code and package metadata.
Breakingv3.0.0
This release bumps the minimum required Node.js version and adds TypeScript type definitions. No other functional changes are described in the provided release notes.
BreakingFeatures