Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
base64-emoji-parser
Advanced tools
yarn add base64-emoji-parser
# or
npm i base64-emoji-parser
Base64 strings can be easily converted to Emoji(pictograms)
import { base64ToEmoji } from 'base64-emoji-parser';
const base64String = 'TWVzc2FnZSAhIQ==';
const emojiParsed = base64ToEmoji(base64String);
console.log(emojiParsed);
//😢😠😤🤪😄🥶🤩😉🤯🥺🤨🤣😒😫🤥🤥
Emoji can also be set to base64
import { emojiToBase64 } from 'base64-emoji-parser';
const emojiString = '😢😠😤🤪😄🥶🤩😉🤯🥺🤨🤣😒😫🤥🤥';
const base64Parsed = emojiToBase64(base64String);
console.log(base64Parsed);
//TWVzc2FnZSAhIQ==
It is also possible to convert with the Emoji you want to use
import {
base64ToEmoji,
emojiToBase64,
EmojiPattern,
} from 'base64-emoji-parser';
const base64String = 'TWVzc2FnZSAhIQ==';
const customEmojiPatten: EmojiPattern = {
T: '🐶',
W: '🐱',
V: '🦄',
z: '🐴',
};
const emojiParsed = base64ToEmoji(base64String, customEmojiPatten);
console.log(emojiParsed);
//🐶🐱🦄🐴😄🥶🤩😉🤯🥺🤨🤣😒😫🤥🤥
const base64Parsed = emojiToBase64(emojiParsed, customEmojiPatten);
console.log(base64Parsed);
//TWVzc2FnZSAhIQ==
FAQs
Base64 Emoji Parser
We found that base64-emoji-parser 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.