Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
jstransformer-marked
Advanced tools
Marked support for JSTransformers.
npm install jstransformer-marked
const marked = require('jstransformer')(require('jstransformer-marked'));
marked.render('# Hello World!').body
//=> '<h1>Hello World!</h1>'
const markedOptions = {}
marked.render('# "Hello World"', markedOptions)
// also supports async walkTokens
marked.renderAsync('# Hello World', {
walkTokens: async (token) => {
const uriPrefix = await uriPrefixAsync()
if (token.href) {
token.href = uriPrefix + token.href
}
}
})
For all supported options see https://marked.js.org/using_advanced#options
MIT
v1.4.0: 2023-07-18
FAQs
Marked support for JSTransformers.
The npm package jstransformer-marked receives a total of 499 weekly downloads. As such, jstransformer-marked popularity was classified as not popular.
We found that jstransformer-marked demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
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.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.