10.0.0 • Published 7 years ago

unicode-tables v10.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

unicode-tables

This is a set of Unicode category tables based off of the unicode module, but it only contains the character values themselves, not all of the extra information. Therefor it is much smaller.

Usage

It is imported in the same way as the unicode module.

require('unicode-tables/category/So');

or

require('unicode-tables/category').So;

Example

Check if a character is a non-spacing mark:

const nonSpacing = new Set(require('unicode-tables/category/Mn'));
nonSpacing.has('\u0300'); // true
10.0.0

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago