Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
@qit.tools/unicode-emoji-json-lite
Advanced tools
This library provides a lightweight version of the unicode-emoji-json library.
This 📚 library provides a 🪶 lightweight version of the unicode-emoji-json library. Essentially, this library simplifies JSON files by using ready-made JSON from the unicode-emoji-json library.
This data does not contain minimally-qualified and unqualified emoji.
RGI: Recommended for General Interchange. A subset of emojis which is likely to be widely supported across multiple platforms.
Minimally-qualified or unqualified emoji zwj sequences may be handled in the same way as their fully-qualified forms; the choice is up to the implementation.
Full description can be found at http://www.unicode.org/reports/tr51/.
To change the skin tone using JavaScript, use our library @qit.tools/skin-tone.
Example of using the library: Random Emoji Generator
npm install @qit.tools/unicode-emoji-json-lite
bun add @qit.tools/unicode-emoji-json-lite
pnpm add @qit.tools/unicode-emoji-json-lite
yarn add @qit.tools/unicode-emoji-json-lite
// Import by default
import dataEmoji from "@qit.tools/unicode-emoji-json-lite";
// Import by JSON files
import dataEmoji from "@qit.tools/unicode-emoji-json-lite/data-by-emoji-lite.json";
import dataEmojiGroup from "@qit.tools/unicode-emoji-json-lite/data-by-group-lite.json";
// ...
// Import types
import type { DataEmoji, DataEmojiGroup, DataEmojiMap, DataEmojiOrdered } from "@qit.tools/unicode-emoji-json-lite";
Emoji's skin tone variations are consolidated into one base entry, with a tone
flag on them.
This means one entry of 👋 represents its 5 variations– 👋🏻, 👋🏼, 👋🏽, 👋🏾, 👋🏿; while raw unicode data list them as individual emoji entries.
The tone flag is present where needed; in other cases, it remains undefined to avoid creating a negative flag.
data-by-emoji-lite.json
:
{
"😀": {
"name": "grinning face",
"group": "SE"
},
...
"👋": {
"name": "waving hand",
"group": "PB",
"tone": true
},
}
data-by-group-lite.json
:
[
{
"name": "SE",
"emojis": [
{
"emoji": "😀",
"name": "grinning face"
},
...
]
}
]
data-emoji-components.json
:
{
"light_skin_tone": "🏻",
"medium_light_skin_tone": "🏼",
"medium_skin_tone": "🏽",
"medium_dark_skin_tone": "🏾",
"dark_skin_tone": "🏿",
"red_hair": "🦰",
"curly_hair": "🦱",
"white_hair": "🦳",
"bald": "🦲"
}
data-group-map.json
:
{
"SE": "Smileys & Emotion",
"PB": "People & Body",
"AN": "Animals & Nature",
"FD": "Food & Drink",
"TP": "Travel & Places",
"A": "Activities",
"O": "Objects",
"S": "Symbols",
"F": "Flags"
}
data-ordered-emoji.json
:
[
"😀",
"😃",
"😄",
"😁",
...
]
Chrome Extension: Emoji Keyboard Copy & Paste
Edge Add-on: Emoji Keyboard Copy & Paste
Website: Emoj.in
MIT
FAQs
This library provides a lightweight version of the unicode-emoji-json library.
The npm package @qit.tools/unicode-emoji-json-lite receives a total of 6 weekly downloads. As such, @qit.tools/unicode-emoji-json-lite popularity was classified as not popular.
We found that @qit.tools/unicode-emoji-json-lite 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
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.