Skip to content

Zertz/unicode-json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deprecated

Please upgrade to node-unicodetable as it is safer, faster, versioned and fully compatible


unicode-json Build Status NPM version

Downloads https://unicode.org/Public/UNIDATA/UnicodeData.txt and saves each category into a JSON file

Install

npm install --save unicode-json

If you got the file already at hand you can specify the path to it in the environment variable NODE_UNICODETABLE_UNICODEDATA_TXT.

Usage

> require('unicode-json/category/So')['♥'.charCodeAt(0)]
{ value: '2665',
  name: 'BLACK HEART SUIT',
  category: 'So',
  class: '0',
  bidirectional_category: 'ON',
  mapping: '',
  decimal_digit_value: '',
  digit_value: '',
  numeric_value: '',
  mirrored: 'N',
  unicode_name: '',
  comment: '',
  uppercase_mapping: '',
  lowercase_mapping: '',
  titlecase_mapping: '',
  symbol: '♥' }

License

MIT

About

unicode lookup table

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%