Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
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.
emoticon
List 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.
FAQs
Info on ASCII emoticons
The npm package emoticon receives a total of 358,208 weekly downloads. As such, emoticon popularity was classified as popular.
We found that emoticon demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.