List of emoticons.
- What is this?
- When should I use this?
- Install
- Use
- API
- List of emoticons
- Types
- Compatibility
- Security
- Related
- Contribute
- License
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: [
'>:(',