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.
It is imported in the same way as the unicode
module.
require('unicode-tables/category/So');
or
require('unicode-tables/category').So;
Check if a character is a non-spacing mark:
const nonSpacing = new Set(require('unicode-tables/category/Mn'));
nonSpacing.has('\u0300'); // true