unidata

Helpers for processing the raw unicode source text files, and other unicode algorithms

Methods

(static) normalize(str) → {string}

Normalize unicode property names for string comparison, as described in https://www.unicode.org/reports/tr44/#Matching_Rules

Parameters:
NameTypeDescription
strstring

string to normalize

Returns:

normalized string

Type: 
string

(async, generator, static) reader()

Read a UNIDATA text file

Yields:

lines from the file, each an array of normalized text columns