List of emoticons.
This package contains info on ASCII emoticons. :p
You can use this package for several reasons, typically in a build script, for example to figure out which text emoticons map to what emoji.
This package is ESM only. In Node.js (version 14.14+), install with npm:
npm install emoticon
In Deno with esm.sh:
import {emoticon} from 'https://esm.sh/emoticon@4'
In browsers with esm.sh:
<script type="module">
import {emoticon} from 'https://esm.sh/emoticon@4?bundle'
</script>
import {emoticon} from 'emoticon'
console.log(emoticon.slice(0, 3))
Yields:
[
{
description: 'angry face',
emoji: 'π ',
emoticons: [
'>:(', '>:[',
'>:-(', '>:-[',
'>=(', '>=[',
'>=-(', '>=-['
],
name: 'angry',
tags: [ 'mad', 'annoyed' ]
},
{
description: 'smiling face with smiling eyes',
emoji: 'π',
emoticons: [
':")', ':"]', ':"D',
':-")', ':-"]', ':-"D',
'=")', '="]', '="D',
'=-")', '=-"]', '=-"D'
],
name: 'blush',
tags: [ 'proud' ]
},
{
description: 'broken heart',
emoji: 'π',
emoticons: [ '<\\3', '</3' ],
name: 'broken_heart',
tags: []
}
]
This package exports the identifier emoticon.
There is no default export.
emoticonList of emoticons (Array<Emoticon>), where each entry has the following
fields:
description (string)
β associated description (from wooorm/gemoji)emoji (string)
β corresponding emojiemoticons (Array<string>)
β ASCII emoticonsname (string)
β name of an emoticon (preferred name from wooorm/gemoji)tags (Array<string>)
β associated tags (from wooorm/gemoji)See support.md.
This package is fully typed with TypeScript.
It exports an additional type Emoticon.
This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 14.14+. It also works in Deno and modern browsers.
This package is safe.
wooorm/gemoji
β info on gemoji (GitHub emoji)words/emoji-emotion
β list of emoji rated for valencewooorm/emoticon
β info on ASCII emoticonswooorm/strip-skin-tone
β strip skin-tones from emojiwooorm.com/checkmoji
β check emoji across platformsYes please! See How to Contribute to Open Source.
MIT Β© Titus Wormer
JavaScript
100.0%
List of emoticons.
This package contains info on ASCII emoticons. :p
You can use this package for several reasons, typically in a build script, for example to figure out which text emoticons map to what emoji.
This package is ESM only. In Node.js (version 14.14+), install with npm:
npm install emoticon
In Deno with esm.sh:
import {emoticon} from 'https://esm.sh/emoticon@4'
In browsers with esm.sh:
<script type="module">
import {emoticon} from 'https://esm.sh/emoticon@4?bundle'
</script>
import {emoticon} from 'emoticon'
console.log(emoticon.slice(0, 3))
Yields:
[
{
description: 'angry face',
emoji: 'π ',
emoticons: [
'>:(', '>:[',
'>:-(', '>:-[',
'>=(', '>=[',
'>=-(', '>=-['
],
name: 'angry',
tags: [ 'mad', 'annoyed' ]
},
{
description: 'smiling face with smiling eyes',
emoji: 'π',
emoticons: [
':")', ':"]', ':"D',
':-")', ':-"]', ':-"D',
'=")', '="]', '="D',
'=-")', '=-"]', '=-"D'
],
name: 'blush',
tags: [ 'proud' ]
},
{
description: 'broken heart',
emoji: 'π',
emoticons: [ '<\\3', '</3' ],
name: 'broken_heart',
tags: []
}
]
This package exports the identifier emoticon.
There is no default export.
emoticonList of emoticons (Array<Emoticon>), where each entry has the following
fields:
description (string)
β associated description (from wooorm/gemoji)emoji (string)
β corresponding emojiemoticons (Array<string>)
β ASCII emoticonsname (string)
β name of an emoticon (preferred name from wooorm/gemoji)tags (Array<string>)
β associated tags (from wooorm/gemoji)See support.md.
This package is fully typed with TypeScript.
It exports an additional type Emoticon.
This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 14.14+. It also works in Deno and modern browsers.
This package is safe.
wooorm/gemoji
β info on gemoji (GitHub emoji)words/emoji-emotion
β list of emoji rated for valencewooorm/emoticon
β info on ASCII emoticonswooorm/strip-skin-tone
β strip skin-tones from emojiwooorm.com/checkmoji
β check emoji across platformsYes please! See How to Contribute to Open Source.
MIT Β© Titus Wormer
JavaScript
100.0%