You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lefteris
8b767d3c7f
|
4 years ago | |
---|---|---|
.. | ||
LICENSE-MIT.txt | 4 years ago | |
README.md | 4 years ago | |
index.js | 4 years ago | |
package.json | 4 years ago |
README.md
unicode-property-aliases-ecmascript
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
Mathias Bynens |
License
unicode-property-aliases-ecmascript is available under the MIT license.