
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.
markdown-to-html-pipe
Advanced tools
Converts a Markdown string, outputs HTML.
// example.module.ts
import {NgModule} from '@angular/core';
import {MarkdownToHtmlModule} from 'markdown-to-html-pipe';
import {ExampleComponent} from './example.component';
@NgModule({
imports: [MarkdownToHtmlModule],
declarations: [ExampleComponent]
})
export class ExampleModule {}
// example.component.ts
import {Component} from '@angular/core';
@Component({
selector: 'example',
template: `<div [innerHTML]="content|MarkdownToHtml"></div>`
})
export class ExampleComponent {
protected content: string = 'This will render **Markdown** content!';
}
Will be rendered as:
<div>
<p>This will render <strong>Markdown</strong> content!</p>
</div>
Run
npm install --save markdown-to-html-pipe
1.2.5
FAQs
Angular Pipe that transforms a markdown string to HTML
The npm package markdown-to-html-pipe receives a total of 127 weekly downloads. As such, markdown-to-html-pipe popularity was classified as not popular.
We found that markdown-to-html-pipe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
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.