Socket
Socket
Sign inDemoInstall

unicode-property-aliases-ecmascript

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    unicode-property-aliases-ecmascript

Unicode property alias mappings in JavaScript format for property names that are supported in ECMAScript RegExp property escapes.


Version published
Weekly downloads
19M
decreased by-8.56%
Maintainers
1
Install size
6.09 kB
Created
Weekly downloads
 

Readme

Source

unicode-property-aliases-ecmascript Build status

unicode-property-aliases-ecmascript offers Unicode property alias mappings in an easy-to-consume JavaScript format. It only contains the Unicode property names that are supported in ECMAScript RegExp property escapes.

It’s based on the PropertyAliases.txt data for Unicode v12.0.0.

Installation

To use unicode-property-aliases-ecmascript programmatically, install it as a dependency via npm:

$ npm install unicode-property-aliases-ecmascript

Then, require it:

const propertyAliases = require('unicode-property-aliases-ecmascript');

Usage

This module exports a Map object. The most common usage is to convert a property alias to its canonical form:

propertyAliases.get('scx')
// → 'Script_Extensions'

Author

twitter/mathias
Mathias Bynens

License

unicode-property-aliases-ecmascript is available under the MIT license.

Keywords

FAQs

Last updated on 05 Mar 2019

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc