
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.
summarize-markdown
Advanced tools
Summarize markdown into a simple string, rather than into HTML.
Why would anybody want to do this? There are times when HTML is not accepted, and a simple string is far more useful. The examples that motivated this library are meta descriptions and the metadata in the Open Graph and Twitter Cards protocols.
Contributing tests, documentation, or code is all appreciated.
npm install summarize-markdown
var summarize = require('summarize-markdown');
summarize('Test paragraph with a [link](http://google.com).');
//=> 'Test paragraph with a link.'
summarize('# Headline\n\nTest paragraph.');
//=> 'Headline: Test paragraph.'
FAQs
Summarize markdown into a simple text string
The npm package summarize-markdown receives a total of 2 weekly downloads. As such, summarize-markdown popularity was classified as not popular.
We found that summarize-markdown 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
/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.