{\itshape unicode-\/property-\/aliases-\/ecmascript} offers Unicode property alias mappings in an easy-\/to-\/consume Java\+Script format. It only contains the Unicode property names that are supported in \href{https://github.com/tc39/proposal-regexp-unicode-property-escapes}{\texttt{ ECMAScript Reg\+Exp property escapes}}.

It’s based on \href{http://unicode.org/Public/12.0.0/ucd/PropertyAliases.txt}{\texttt{ the {\ttfamily Property\+Aliases.\+txt} data for Unicode v12.\+0.\+0}}.\hypertarget{md_sfcode_node_modules_unicode_property_aliases_ecmascript_README_autotoc_md31286}{}\doxysection{Installation}\label{md_sfcode_node_modules_unicode_property_aliases_ecmascript_README_autotoc_md31286}
To use {\itshape unicode-\/property-\/aliases-\/ecmascript} programmatically, install it as a dependency via \href{https://www.npmjs.com/}{\texttt{ npm}}\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install unicode-\/property-\/aliases-\/ecmascript }

\end{DoxyCode}


Then, {\ttfamily require} it\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{const propertyAliases = require('unicode-\/property-\/aliases-\/ecmascript'); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_unicode_property_aliases_ecmascript_README_autotoc_md31287}{}\doxysection{Usage}\label{md_sfcode_node_modules_unicode_property_aliases_ecmascript_README_autotoc_md31287}
This module exports a {\ttfamily Map} object. The most common usage is to convert a property alias to its canonical form\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{propertyAliases.get('scx')}
\DoxyCodeLine{// → 'Script\_Extensions' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_unicode_property_aliases_ecmascript_README_autotoc_md31288}{}\doxysection{Author}\label{md_sfcode_node_modules_unicode_property_aliases_ecmascript_README_autotoc_md31288}
\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{1}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ \href{https://twitter.com/mathias}{\texttt{ }}    }\\\cline{1-1}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ \href{https://twitter.com/mathias}{\texttt{ }}    }\\\cline{1-1}
\endhead
\href{https://mathiasbynens.be/}{\texttt{ Mathias Bynens}}   \\\cline{1-1}
\end{longtabu}
\hypertarget{md_sfcode_node_modules_unicode_property_aliases_ecmascript_README_autotoc_md31289}{}\doxysection{License}\label{md_sfcode_node_modules_unicode_property_aliases_ecmascript_README_autotoc_md31289}
{\itshape unicode-\/property-\/aliases-\/ecmascript} is available under the \href{https://mths.be/mit}{\texttt{ MIT}} license. 