$ npm install unicode
provides data from https://unicode.org/Public/UNIDATA/UnicodeData.txt for nodejs.
npm install unicode
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: '♥' }
© 2010 - cnpmjs.org x YWFE | Home | YWFE