
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@m2d/mdast
Advanced tools
Extended MDAST types and custom node data for mdast2docx with support for DOCX formatting.
Emoji shortcode support for
mdast2docx
This plugin adds support for emoji shortcodes (e.g., :smile:
, :rocket:
) in your Markdown-to-DOCX conversion pipeline. It replaces recognized emoji shortcodes with their corresponding Unicode characters during the MDAST transformation.
:tada:
→ 🎉)@m2d/core
mdast2docx
plugin ecosystempnpm install @m2d/mdast
or
yarn add @m2d/mdast
or
npm add @m2d/mdast
This plugin scans all text nodes for emoji shortcodes (e.g., :fire:
, :sparkles:
) and replaces them with matching Unicode emojis using a predefined emoji JSON mapping.
It uses the GitHub-style emoji shortcodes and more — if a shortcode is not recognized, it will remain unchanged.
# Clone and install dependencies
git clone https://github.com/md2docx/emoji-plugin
cd emoji-plugin
npm install
# Build / Test / Dev
npm run build
Licensed under the MPL-2.0 License.
If you find this useful:
Made with 💖 by Mayank Kumar Chaudhari
FAQs
Extended MDAST types and custom node data for mdast2docx with support for DOCX formatting.
The npm package @m2d/mdast receives a total of 5,757 weekly downloads. As such, @m2d/mdast popularity was classified as popular.
We found that @m2d/mdast 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.