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.
unknown
9098be3295
|
2 years ago | |
---|---|---|
.. | ||
category | 2 years ago | |
.travis.yml | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
generate.js | 2 years ago | |
package.json | 2 years ago | |
test.js | 2 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: '♥' }