![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
retext-emoji
Advanced tools
Emoji, gemoji, and emoticons in retext.
npm:
npm install retext-emoji
retext-emoji is also available as an AMD, CommonJS, and globals module, uncompressed and compressed.
Dependencies:
var retext = require('retext');
var emoji = require('retext-emoji');
Process:
var file = retext()
.use(emoji, {convert: 'encode'})
.process('I’m going to bed. :zzz:');
Yields:
I’m going to bed. 💤
retext().use(emoji[, options])
Emoji, gemoji, and emoticons in retext.
options
convert
('encode'
or 'decode'
, optional)
— When encode
, converts short-codes and emoticons to their
unicode equivalent (:heart:
and <3
to ❤️
); When decode
,
converts unicode emoji and emoticons to their short-code equivalent
(❤️
and <3
to :heart:
).string
.
EmoticonNode
retext-emoji adds a new node to NLCST: Emoticon
(Symbol).
Whether emoji (❤️
), emoticon (<3
), or gemoji (:heart:
), all are
classified as EmoticonNode
s.
interface Emoticon < Symbol {
type: "EmoticonNode";
data: EmoticonData;
}
interface EmoticonData {
names: [string];
description: string | null;
tags: [string];
}
retext-emoji supports every wooorm/gemoji
and every
wooorm/emoticon
.
FAQs
retext plugin to support emoji, gemoji, and emoticons
The npm package retext-emoji receives a total of 13,052 weekly downloads. As such, retext-emoji popularity was classified as popular.
We found that retext-emoji 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.