You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| category | 3 years ago | |
| .travis.yml | 3 years ago | |
| LICENSE | 3 years ago | |
| README.md | 3 years ago | |
| generate.js | 3 years ago | |
| package.json | 3 years ago | |
| test.js | 3 years ago | |
README.md
unicode lookup table
provides data from https://unicode.org/Public/UNIDATA/UnicodeData.txt for nodejs.
install
npm install unicode
example
master//node-unicodetable » node
> require('unicode/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: '♥' }