unicode-range
v2.0.0
Published
Get the unicode category range of any unicode value. U+3071 ➝ Hiragana
Downloads
23
Maintainers
Readme
unicode-range
Get the unicode category range of any unicode value.
U+3071
➝Hiragana
Install
$ npm install --save unicode-range
Usage
import unicodeRange from "unicode-range";
unicodeRange("U+3071");
//=> 'Hiragana'
API
unicodeRange(input)
input
Required
Type: string
The unicode string you want to lookup
Auto-update Script
Run npm run update
which will generate a sorted list of unicode ranges in the file called "sorted-unicode-ranges.js".
[!IMPORTANT] Remember to run the update script if/when you update the unicode-range-json depenendency.
Related
- unicode-range-json - A list of all the Unicode Range Names and their hex/decimal range numbers.
License
MIT © Michael Wuergler