Access to all 128,172 unicode characters by block in < 8kb.
For reference, a string of all unicode characters in a text file is approximately 1mb.
Since unicode blocks are contiguous, this stores only start and length values per block, and getters construct the full block string once upon first invocation and immediately overwrite the property to the static string.
npm i lazy-unicode
> var u=require("lazy-unicode-blocks")
undefined
> u.MAHJONG_TILES //substitute for any block name, take a look by tabbing at u.|
'๐๐๐๐๐๐
๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ ๐ก๐ข๐ฃ๐ค๐ฅ๐ฆ๐ง๐จ๐ฉ๐ช๐ซ๐ฌ๐ญ๐ฎ๐ฏ๐ฐ'
All blocks are available.