unicode-property-aliases
unicode-property-aliases offers the Unicode property alias mappings in an easy-to-consume JavaScript format.
It’s based on the PropertyAliases.txt
data for Unicode v11.0.0.
Installation
To use unicode-property-aliases programmatically, install it as a dependency via npm:
$ npm install unicode-property-aliases
Then, require
it:
const propertyAliases = require('unicode-property-aliases');
Usage
This module exports a Map
object. The most common usage is to convert a property alias to its canonical form:
propertyAliases.get('sfc')
Author
License
unicode-property-aliases is available under the MIT license.