New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

easta

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easta

Unicode East Asian Width data for Node.js

latest
Source
npmnpm
Version
9.0.0
Version published
Weekly downloads
35
-67.29%
Maintainers
1
Weekly downloads
 
Created
Source

easta

Unicode East Asian Width data for Node.js

npm version Node.js Version Support ci status License

Based on EastAsianWidth-15.1.0.

Usage

const easta = require("easta");

assert(easta("A") === "Na"); // Narrow
assert(easta("A") === "F"); // Fullwidth
assert(easta("ア") === "W"); // Wide
assert(easta("ア") === "H"); // Halfwidth
assert(easta("α") === "A"); // Ambiguous
assert(easta("À") === "N"); // Neutral

Changelog

  • 9.0.0: update for Unicode 16.0.0, support Node v20+
  • 8.0.0: update for Unicode 15.1.0, support Node v18+
  • 7.0.0: update for Unicode 15.0.0, support Node v14+
  • 6.0.0: update for Unicode 14.0.0, support Node v12+ and add typings for TypeScript
  • 5.0.0: update for Unicode 13.0.0, support Node v10+
  • 4.0.0: update for Unicode 12.1.0, support for Node v8+
  • 3.0.1: reduce data size from 24KB to 13KB
  • 3.0.0: update for Unicode 11.0.0, support for Node v6+
  • 2.0.0: update for Unicode 10.0.0, drop Node v7
  • 1.0.1: fix document
  • 1.0.0: initial release (based on Unicode 9.0.0)

License

MIT License: Teppei Sato <teppeis@gmail.com>

Keywords

unicode

FAQs

Package last updated on 05 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts