node-emojis 0.0.5 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +202 -123
  2. package/lib/backward-compat.d.ts +29 -0
  3. package/lib/backward-compat.d.ts.map +1 -0
  4. package/lib/backward-compat.js +160 -0
  5. package/lib/backward-compat.js.map +1 -0
  6. package/lib/categories/animals.d.ts +3 -0
  7. package/lib/categories/animals.d.ts.map +1 -0
  8. package/lib/categories/animals.js +17 -0
  9. package/lib/categories/animals.js.map +1 -0
  10. package/lib/categories/food.d.ts +3 -0
  11. package/lib/categories/food.d.ts.map +1 -0
  12. package/lib/categories/food.js +17 -0
  13. package/lib/categories/food.js.map +1 -0
  14. package/lib/categories/nature.d.ts +3 -0
  15. package/lib/categories/nature.d.ts.map +1 -0
  16. package/lib/categories/nature.js +17 -0
  17. package/lib/categories/nature.js.map +1 -0
  18. package/lib/categories/people.d.ts +3 -0
  19. package/lib/categories/people.d.ts.map +1 -0
  20. package/lib/categories/people.js +17 -0
  21. package/lib/categories/people.js.map +1 -0
  22. package/lib/categories/travel.d.ts +3 -0
  23. package/lib/categories/travel.d.ts.map +1 -0
  24. package/lib/categories/travel.js +17 -0
  25. package/lib/categories/travel.js.map +1 -0
  26. package/lib/core/emoji.d.ts +46 -0
  27. package/lib/core/emoji.d.ts.map +1 -0
  28. package/lib/core/emoji.js +3 -0
  29. package/lib/core/emoji.js.map +1 -0
  30. package/lib/data/aliases.json +472 -0
  31. package/lib/data/categories.json +381 -0
  32. package/lib/data/emojis.json +371 -0
  33. package/lib/data/metadata.json +3254 -0
  34. package/lib/data/skin-tones.json +196 -0
  35. package/lib/features/aliases/index.d.ts +375 -0
  36. package/lib/features/aliases/index.d.ts.map +1 -0
  37. package/lib/features/aliases/index.js +230 -0
  38. package/lib/features/aliases/index.js.map +1 -0
  39. package/lib/features/filters/index.d.ts +119 -0
  40. package/lib/features/filters/index.d.ts.map +1 -0
  41. package/lib/features/filters/index.js +196 -0
  42. package/lib/features/filters/index.js.map +1 -0
  43. package/lib/features/search/index.d.ts +82 -0
  44. package/lib/features/search/index.d.ts.map +1 -0
  45. package/lib/features/search/index.js +204 -0
  46. package/lib/features/search/index.js.map +1 -0
  47. package/lib/features/skin-tones/index.d.ts +119 -0
  48. package/lib/features/skin-tones/index.d.ts.map +1 -0
  49. package/lib/features/skin-tones/index.js +184 -0
  50. package/lib/features/skin-tones/index.js.map +1 -0
  51. package/lib/index.d.ts +65 -0
  52. package/lib/index.d.ts.map +1 -0
  53. package/lib/index.js +139 -3
  54. package/lib/index.js.map +1 -0
  55. package/lib/types/index.d.ts +21 -0
  56. package/lib/types/index.d.ts.map +1 -0
  57. package/lib/types/index.js +3 -0
  58. package/lib/types/index.js.map +1 -0
  59. package/lib/utils/reverse-mapping.d.ts +111 -0
  60. package/lib/utils/reverse-mapping.d.ts.map +1 -0
  61. package/lib/utils/reverse-mapping.js +138 -0
  62. package/lib/utils/reverse-mapping.js.map +1 -0
  63. package/lib/utils/validators.d.ts +63 -0
  64. package/lib/utils/validators.d.ts.map +1 -0
  65. package/lib/utils/validators.js +106 -0
  66. package/lib/utils/validators.js.map +1 -0
  67. package/package.json +118 -17
  68. package/.github/FUNDING.yml +0 -5
  69. package/.github/workflows/nodejs.yml +0 -26
  70. package/.travis.yml +0 -12
  71. package/CODE_OF_CONDUCT.md +0 -46
  72. package/index.html +0 -1284
  73. package/lib/emojis/animal-emojis.js +0 -71
  74. package/lib/emojis/emojis.js +0 -9
  75. package/lib/emojis/food-emojis.js +0 -97
  76. package/lib/emojis/index.js +0 -3
  77. package/lib/emojis/nature-emojis.js +0 -9
  78. package/lib/emojis/people-emojis.js +0 -181
  79. package/lib/emojis/travel-emojis.js +0 -17
  80. package/test/test.js +0 -26
@@ -1,71 +0,0 @@
1
- const animalEmojis = {
2
- ant: '🐜',
3
- bear_face: '🐻',
4
- bird: '🐦',
5
- blowfish: '🐡',
6
- boar: '🐗',
7
- bug: '🐛',
8
- camel: '🐪',
9
- cat: '🐈',
10
- cat_face: '🐱',
11
- chicken: '🐔',
12
- chipmunk: '🐿️',
13
- cow: '🐄',
14
- cow_face: '🐮',
15
- crocodile: '🐊',
16
- dog_face: '🐶',
17
- dogface: '🐶',
18
- dog: '🐕',
19
- doggo: '🐕',
20
- domestic_cat: '🐈',
21
- domesticcat: '🐈',
22
- dove: '🕊',
23
- elephant: '🐘',
24
- ewe: '🐑',
25
- feline: '🐈',
26
- frog_face: '🐸',
27
- frogface: '🐸',
28
- goat: '🐐',
29
- hamster_face: '🐹',
30
- hamsterface: '🐹',
31
- honeybee: '🐝',
32
- horse: '🐎',
33
- horse_face: '🐴',
34
- housecat: '🐈',
35
- koala: '🐨',
36
- leopard: '🐆',
37
- lion_face: '🦁',
38
- monkey: '🐒',
39
- monkey_face: '🐵',
40
- monkeyface: '🐵',
41
- mouse: '🐁',
42
- mouse_face: '🐭',
43
- octopus: '🐙',
44
- ox: '🐂',
45
- panda_face: '🐼',
46
- penguin: '🐧',
47
- pig: '🐖',
48
- pig_face: '🐷',
49
- pig_nose: '🐽',
50
- rabbit: '🐇',
51
- rabbit_face: '🐰',
52
- rabbitface: '🐰',
53
- ram: '🐏',
54
- rat: '🐀',
55
- roster: '🐓',
56
- scorpion: '🦂',
57
- snake: '🐍',
58
- snail: '🐌',
59
- spider: '🕷️',
60
- tiger: '🐅',
61
- tiger_face: '🐯',
62
- two_hump_camel: '🐫',
63
- turkey: '🦃',
64
- turtle: '🐢',
65
- unicorn: '🦄',
66
- water_buffalo: '🐃',
67
- wolf_face: '🐺',
68
- whale: '🐋'
69
- }
70
-
71
- module.exports = animalEmojis
@@ -1,9 +0,0 @@
1
- const animalEmojis = require('./animal-emojis')
2
- const foodEmojis = require('./food-emojis')
3
- const natureEmojis = require('./nature-emojis')
4
- const peopleEmojis = require('./people-emojis')
5
- const travelEmojis = require('./travel-emojis')
6
-
7
- const emojis = Object.assign(animalEmojis, foodEmojis, natureEmojis, peopleEmojis, travelEmojis)
8
-
9
- module.exports = emojis
@@ -1,97 +0,0 @@
1
- const foodEmojis = {
2
- amphora: '🏺',
3
- apple: '🍎',
4
- baby_bottle: '🍼',
5
- banana: '🍌',
6
- beer_mug: '🍺',
7
- bento_box: '🍱',
8
- birthday_cake: '🎂',
9
- bottle_with_popping_cork: '🍾',
10
- bread: '🍞',
11
- burger: '🍔',
12
- burrito: '🌯',
13
- candy: '🍬',
14
- cantaloupe: '🍈',
15
- cheese: '🧀',
16
- cherries: '🍒',
17
- chestnut: '🌰',
18
- cheese_wedge: '🧀',
19
- cheeseburger: '🍔',
20
- cheesewedge: '🧀',
21
- chocolate_bar: '🍫',
22
- clinking_beer_mugs: '🍻',
23
- cocktail_glass: '🍸',
24
- cooked_rice: '🍚',
25
- cookie: '🍪',
26
- cooking: '🍳',
27
- corn: '🌽',
28
- crab: '🦀',
29
- croissant: '🥐',
30
- custard: '🍮',
31
- dango: '🍡',
32
- doughnut: '🍩',
33
- ear_of_corn: '🌽',
34
- eggplant: '🍆',
35
- fish_cake_with_swirl: '🍥',
36
- french_fries: '🍟',
37
- fried_shrimp: '🍤',
38
- fork_and_knife_with_plate: '🍽',
39
- fork_and_knife: '🍴',
40
- grape: '🍇',
41
- grapes: '🍇',
42
- green_apple: '🍏',
43
- hamburger: '🍔',
44
- honeydew: '🍈',
45
- honey_pot: '🍯',
46
- hot_beverage: '☕',
47
- hot_dog: '🌭',
48
- hotdog: '🌭',
49
- hot_pepper: '🌶️',
50
- ice_cream: '🍨',
51
- lemon: '🍋',
52
- lemonade: '🍋',
53
- load_of_bread: '🍞',
54
- loadofbread: '🍞',
55
- lollipop: '🍭',
56
- mandarin: '🍊',
57
- meat_on_bone: '🍖',
58
- melon: '🍈',
59
- mushroom: '🍄',
60
- muskmelon: '🍈',
61
- orange: '🍊',
62
- pancakes: '🥞',
63
- peach: '🍑',
64
- pear: '🍐',
65
- pineapple: '🍍',
66
- pizza: '🍕',
67
- plantain: '🍌',
68
- popcorn: '🍿',
69
- pot_of_food: '🍲',
70
- poultry_leg: '🍗',
71
- oden: '🍢',
72
- red_apple: '🍎',
73
- rice_ball: '🍙',
74
- rice_cracker: '🍘',
75
- roasted_sweet_potato: '🍠',
76
- rockmelon: '🍈',
77
- sake: '🍶',
78
- sausage: '🌭',
79
- shaved_ice: '🍧',
80
- shortcake: '🍰',
81
- soft_ice_cream: '🍦',
82
- steaming_bowl: '🍜',
83
- spaghetti: '🍝',
84
- strawberry: '🍓',
85
- sushi: '🍣',
86
- taco: '🌮',
87
- tangerine: '🍊',
88
- teacup_without_handle: '🍵',
89
- tomato: '🍅',
90
- tropical_drink: '🍹',
91
- watermelon: '🍉',
92
- wine_glass: '🍷',
93
- yellow_fruit: '🍋',
94
- yellowfruit: '🍋'
95
- }
96
-
97
- module.exports = foodEmojis
@@ -1,3 +0,0 @@
1
- const emojis = require('./emojis')
2
-
3
- module.exports = emojis
@@ -1,9 +0,0 @@
1
- const natureEmojis = {
2
- fire: '🔥',
3
- flame: '🔥',
4
- hot: '🔥',
5
- lit: '🔥',
6
- snapstreak: '🔥'
7
- }
8
-
9
- module.exports = natureEmojis
@@ -1,181 +0,0 @@
1
- const peopleEmojis = {
2
- awkward: '😬',
3
- bawling: '😭',
4
- baby: '👶',
5
- beaming_face_with_smiling_eyes: '😁',
6
- black_heart_suit: '♥',
7
- blackheartsuit: '♥',
8
- blush: '😊',
9
- boy: '👦',
10
- card_with_heart: '♥',
11
- cardwithheart: '♥',
12
- child: '👶',
13
- crying: '😭',
14
- dissatisfied: '😒',
15
- disappointed_face: '😞',
16
- distraught_face: '😩',
17
- distraughtface: '😩',
18
- drool: '🤤',
19
- drooling: '🤤',
20
- drooling_face: '🤤',
21
- droolingface: '🤤',
22
- eek: '😬',
23
- elderly_man: '👴',
24
- elderlyman: '👴',
25
- elderly_woman: '👵',
26
- elderlywoman: '👵',
27
- expressionless: '😑',
28
- expressionless_face: '😑',
29
- eye_roll: '🙄',
30
- eyeroll: '🙄',
31
- face_with_head_bandage: '🤕',
32
- face_with_medical_mask: '😷',
33
- face_with_rolling_eyes: '🙄',
34
- facewithrollingeyes: '🙄',
35
- face_with_tears_of_joy: '😂',
36
- face_with_thermometer: '🤒',
37
- face_without_mouth: '😶',
38
- fearful_face: '😨',
39
- female: '👩',
40
- flirt: '😏',
41
- flirting: '😏',
42
- foot_in_mouth: '😬',
43
- footinmouth: '😬',
44
- grandpa: '👴',
45
- grandma: '👵',
46
- girl: '👧',
47
- grin: '😁',
48
- grinning: '😀',
49
- grinning_face: '😀',
50
- grinning_face_with_big_eyes: '😃',
51
- grinning_face_with_smiling_eyes: '😁',
52
- grinning_squinting_face: '😆',
53
- grimace: '😬',
54
- grimacing: '😬',
55
- grimacing_face: '😬',
56
- grimacingface: '😬',
57
- heart: '❤️',
58
- heart_eyes: '😍',
59
- heart_suit: '♥',
60
- hearts: '♥',
61
- heartsuit: '♥',
62
- heavy_black_heart: '❤️',
63
- heavyblackheart: '❤️',
64
- hugging_face: '🤗',
65
- hushed_face: '😯',
66
- joy: '😂',
67
- kissing: '😗',
68
- kissing_closed_eyes: '😚',
69
- kissing_heart: '😘',
70
- kissing_smiling_eyes: '😙',
71
- lady: '👩',
72
- laughing: '😆',
73
- loudly_crying_face: '😭',
74
- loudlycryingface: '😭',
75
- love_heart: '❤️',
76
- loveheart: '❤️',
77
- man: '👨',
78
- nanna: '👵',
79
- nervous: '😬',
80
- neutral_face: '😐',
81
- no_mouth: '😶',
82
- old_lady: '👵',
83
- oldlady: '👵',
84
- old_man: '👴',
85
- oldman: '👴',
86
- older_man: '👴',
87
- olderman: '👴',
88
- old_woman: '👵',
89
- oldwoman: '👵',
90
- older_woman: '👵',
91
- olderwoman: '👵',
92
- ok: '👌',
93
- ok_hand: '👌',
94
- okhand: '👌',
95
- ok_hand_sign: '👌',
96
- okhandsign: '👌',
97
- okay: '👌',
98
- pensive: '😔',
99
- pensive_face: '😔',
100
- pensiveface: '😔',
101
- perfect: '👌',
102
- person_shrugging: '🤷',
103
- personshrugging: '🤷',
104
- poop: '💩',
105
- red_heart: '❤️',
106
- redheart: '❤️',
107
- relaxed: '☺️',
108
- relieved_face: '😌',
109
- rofl: '🤣',
110
- rolling_on_the_floor_laughing: '🤣',
111
- rollingonthefloorlaughing: '🤣',
112
- sad: '😔',
113
- sad_tears: '😭',
114
- sadtears: '😭',
115
- sadface: '😔',
116
- satisfied: '😆',
117
- sarcasm: '🙃',
118
- sexual_face: '😏',
119
- sexualface: '😏',
120
- sob: '😭',
121
- sobbing: '😭',
122
- shrug: '🤷',
123
- shrugging: '🤷',
124
- side_eye: '😒',
125
- sideeye: '😒',
126
- silly: '🙃',
127
- sleeping: '😴',
128
- sleeping_face: '😴',
129
- sleepingface: '😴',
130
- sleepy_face: '😴',
131
- sleepyface: '😴',
132
- slightly_smiling_face: '🙂',
133
- smile: '😄',
134
- smiley: '😃',
135
- smiling_face_with_smiling_eyes: '😊',
136
- smirk: '😏',
137
- smirk_cat: '😼',
138
- smirkcat: '😼',
139
- smirking: '😏',
140
- smirking_cat: '😼',
141
- smirking_face: '😏',
142
- smirkingcat: '😼',
143
- smirkingface: '😏',
144
- smug: '😏',
145
- smug_face: '😏',
146
- smugface: '😏',
147
- snorning: '😴',
148
- sorrowful: '😔',
149
- sunglasses: '😎',
150
- suggestive_smile: '😏',
151
- suggestivesmile: '😏',
152
- sweat_smile: '😅',
153
- thinking_face: '🤔',
154
- thumbs_down: '👎',
155
- thumbsdown: '👎',
156
- thumbs_up: '👍',
157
- thumbsup: '👍',
158
- toddler: '👶',
159
- unamused: '😒',
160
- unamused_face: '😒',
161
- unamusedface: '😒',
162
- unimpressed: '😒',
163
- upside_down_face: '🙃',
164
- upsidedownface: '🙃',
165
- wailing: '😩',
166
- weary: '😩',
167
- weary_face: '😩',
168
- wearyface: '😩',
169
- wink: '😉',
170
- winking_face: '😉',
171
- woman: '👩',
172
- woman_shrugging: '🤷',
173
- yellow_woman: '👩',
174
- yellowwoman: '👩',
175
- yum: '😋',
176
- zipper_mouth_face: '🤐',
177
- zzz_face: '😴',
178
- zzzface: '😴'
179
- }
180
-
181
- module.exports = peopleEmojis
@@ -1,17 +0,0 @@
1
- const travelEmojis = {
2
- aussie_flag: '🇦🇺',
3
- aussieflag: '🇦🇺',
4
- australia: '🇦🇺',
5
- australia_flag: '🇦🇺',
6
- australiaflag: '🇦🇺',
7
- flag_of_australia: '🇦🇺',
8
- flagofaustralia: '🇦🇺',
9
- fuji_san: '🗻',
10
- fujisan: '🗻',
11
- mount_fuji: '🗻',
12
- mountfuji: '🗻',
13
- snow_capped_mountain: '🗻',
14
- snowcappedmountain: '🗻'
15
- }
16
-
17
- module.exports = travelEmojis
package/test/test.js DELETED
@@ -1,26 +0,0 @@
1
- /* eslint-env mocha */
2
-
3
- const expect = require('chai').expect
4
- const emojis = require('../lib/emojis')
5
-
6
- describe('emojis', () => {
7
- it('should return a successful animal emoji', () => {
8
- expect(emojis.cat).to.equal('🐈')
9
- })
10
-
11
- it('should return a successful people emoji', () => {
12
- expect(emojis.grin).to.equal('😁')
13
- })
14
-
15
- it('should return a successful travel emoji', () => {
16
- expect(emojis.snow_capped_mountain).to.equal('🗻')
17
- })
18
-
19
- it('should return a successful food emoji', () => {
20
- expect(emojis.melon).to.equal('🍈')
21
- })
22
-
23
- it('should return a successful nature emoji', () => {
24
- expect(emojis.lit).to.equal('🔥')
25
- })
26
- })