Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
telegramify-markdown
Advanced tools
Telegramify-Markdown is a Markdown to Telegram-specific-markdown converter, based on Unified and Remark.
npm install telegramify-markdown
const telegramifyMarkdown = require('telegramify-markdown');
const markdown = `
# Header
## Subheader
[1.0.0](http://version.com)
* item 1
* item 2
* item 3
And simple text with + some - symbols.
`;
telegramifyMarkdown(markdown);
/*
*Header*
*Subheader*
[1\.0\.0](http://version.com)
• item 1
• item 2
• item 3
And simple text with \+ some \- symbols\.
*/
You can also add unsupported tags strategy as a second argument, which can be one of the following:
escape
- escape unsupported symbols for unsupported tagsremove
- remove unsupported tagskeep
- ignore unsupported tags (default)const telegramifyMarkdown = require('telegramify-markdown');
const markdown = `
# Header
> Blockquote
<div>Text in div</div>
`;
telegramifyMarkdown(markdown, 'escape');
/*
*Header*
\> Blockquote
<div\>Text in div</div\>
*/
telegramifyMarkdown(markdown, 'remove');
/*
*Header*
*/
sec
FAQs
Convert markdown into Telegram-specific markdown
The npm package telegramify-markdown receives a total of 586 weekly downloads. As such, telegramify-markdown popularity was classified as not popular.
We found that telegramify-markdown demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.