npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

unicode-range-json

1.0.1 • Public • Published

unicode-range-json Build Status

A list of all the Unicode Range Names and their hex/decimal range numbers.

This module simply exposes the unicode-ranges.json file.

Install

$ npm install --save unicode-range-json

Usage

const unicodeRanges = require('unicode-range-json');
 
console.log(unicodeRanges);
/*
{
  "category": "Control Character",
  "hexrange": ["0000", "001F"],
  "range": [0, 31]
},
{
  "category": "Basic Latin",
  "hexrange": ["0020", "007F"],
  "range": [32, 127]
},
...
*/

API

unicodeRanges

A JSON object with following information about the Unicode Ranges:

  • category : (String) The range category name
  • hexrange : (Array) The hexadecimal number range
  • range : (Array) The decimal number range

Contribution

Please open an issue or pull request of you discover any of the values or ranges to be incorrect. Thanks!

Related

  • unicode-range Get the category range name of any Unicode value. U+3071 ➝ Hiragana

License

MIT © Michael Wuergler

install

npm i unicode-range-json

Downloadsweekly downloads

128

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability