Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
emoticon
Advanced tools
Readme
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 12.20+, 14.14+, or 16.0+), install with npm:
npm install emoticon
In Deno with Skypack:
import {emoticon} from 'https://cdn.skypack.dev/emoticon@4?dts'
In browsers with Skypack:
<script type="module">
import {emoticon} from 'https://cdn.skypack.dev/emoticon@4?min'
</script>
import {emoticon} from 'emoticon'
console.log(emoticon.slice(0, 3))
Yields:
[ { name: 'angry',
emoji: '😠',
tags: [ 'mad', 'annoyed' ],
description: 'angry face',
emoticons:
[ '>:(', '>:[', '>:-(', '>:-[', '>=(', '>=[', '>=-(', '>=-[' ] },
{ name: 'blush',
emoji: '😊',
tags: [ 'proud' ],
description: 'smiling face with smiling eyes',
emoticons:
[ ':")',
':"]',
':"D',
':-")',
':-"]',
':-"D',
'=")',
'="]',
'="D',
'=-")',
'=-"]',
'=-"D' ] },
{ name: 'broken_heart',
emoji: '💔',
tags: [],
description: 'broken heart',
emoticons: [ '<\\3', '</3' ] } ]
This package exports the following identifier: emoticon
.
There is no default export.
emoticon
List of emoticons (Array<Emoticon>
), where each entry has the following
fields:
name
(string
)
— name of an emoticon (preferred name from wooorm/gemoji
)emoji
(string
)
— corresponding emojitags
(Array<string>
)
— associated tags (from wooorm/gemoji
)description
(string
)
— associated description (from wooorm/gemoji
)emoticons
(Array<string>
)
— ASCII emoticonsThis package is fully typed with TypeScript.
It exports an additional Emoticon
type that models its respective interface.
See support.md
.
This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 12.20+, 14.14+, and 16.0+. 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 317,089 weekly downloads. As such, emoticon popularity was classified as popular.
We found that emoticon demonstrated a not healthy version release cadence and project activity because the last version was released 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.