
Security News
Node.js Homepage Adds Paid Support Link, Prompting Contributor Pushback
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
@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 4,815 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
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.
Research
Security News
The Socket Research Team investigates a malicious Python typosquat of a popular password library that forces Windows shutdowns when input is incorrect.