Socket
Book a DemoInstallSign in
Socket

unicode-match-property-value-ecmascript

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unicode-match-property-value-ecmascript

Match a Unicode property or property alias to its canonical property name per the algorithm used for RegExp Unicode property escapes in ECMAScript.

latest
Source
npmnpm
Version
2.2.1
Version published
Weekly downloads
24M
-11.11%
Maintainers
2
Weekly downloads
 
Created

What is unicode-match-property-value-ecmascript?

The unicode-match-property-value-ecmascript npm package is designed for matching Unicode property values in a given input according to the ECMAScript specification. It is primarily used in the context of regular expressions that involve Unicode property escapes, providing a way to ensure that input strings conform to expected Unicode property values.

What are unicode-match-property-value-ecmascript's main functionalities?

Matching Unicode Property Values

This feature allows you to match a given Unicode property (e.g., 'Script') and value (e.g., 'Hani') to check if it conforms to the ECMAScript specification. It's useful for validating and transforming Unicode property values in JavaScript regular expressions.

"use strict";
const matchPropertyValue = require('unicode-match-property-value-ecmascript');

try {
  const result = matchPropertyValue('Script', 'Hani');
  console.log(result); // Expected output: 'Han'
} catch (error) {
  console.error(error);
}

Other packages similar to unicode-match-property-value-ecmascript

Keywords

unicode

FAQs

Package last updated on 09 Sep 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.