
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@grammyjs/emoji
Advanced tools
Adds emoji parsing for grammY. Check out the official documentation to learn more about this plugin.
Using NPM:
npm install @grammyjs/emoji
Using Yarn:
yarn add @grammyjs/emoji
Using Deno:
import {...} from "https://github.com/grammyjs/emoji/src/mod.ts";
import { Bot, Context } from "grammy";
import { EmojiFlavor, emojiParser } from "@grammyjs/emoji";
type MyContext = Context & EmojiFlavor;
const bot = new Bot<MyContext>(""); // <-- put your bot token between the ""
bot.use(emojiParser());
bot.command("ping", async (ctx) => {
// Don't know emoji names? No problem!
// Press Ctrl + Space on supported editors to
// see IntelliSense auto-completion magic.
await ctx.reply(ctx.emoji`Pong! ${"ping_pong"}`);
// > Pong! 🏓
});
bot.command("start", async (ctx) => {
await ctx.replyWithEmoji`Welcome to my bot! ${"grinning_face_with_big_eyes"}`;
// > Welcome to my bot! 😀
});
bot.start();
Contributions are more than welcome! Just make sure if there is already a similar PR, so you can contribute from there.
FAQs
Use emoji names instead of Unicode strings. Copy-pasting emoji sucks.
The npm package @grammyjs/emoji receives a total of 346 weekly downloads. As such, @grammyjs/emoji popularity was classified as not popular.
We found that @grammyjs/emoji demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.