
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
gulp-md-template
Advanced tools
Gulp plugin uses markdown-templator to include markdown files in an HTML template.
$ npm install gulp-md-template
var gulp = require('gulp'),
template = require('gulp-md-template');
gulp.task('default', function () {
return gulp.src('./*.html')
.pipe(template('./partials'))
.pipe(gulp.dest('./dist'));
});
You can include markdown files into an HTML template so that this:
<!-- ./index.html -->
<head>
<title>Example</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
{{header}}
<div class="container">
{{article.md}}
</div>
</body>
<!-- ./partials/header.md -->

## TITLE
<!-- ./partials/article.md -->
This is an article about this stuff:
- Item of intereset
- Another item of interest
- An item of non-interest
Transforms to this:
<!-- ./dist/index.html -->
<head>
<title>Example</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<p><img src="logo.png" alt="Logo"></p>
<h2 id="title">TITLE</h2>
<div class="container">
<p>This is an article about this stuff:</p>
<ul>
<li>Item of intereset</li>
<li>Another item of interest</li>
<li>An item of non-interest</li>
</ul>
</div>
</body>
your-great-feature
.See the LICENSE file.
FAQs
Include markdown files in an HTML template
The npm package gulp-md-template receives a total of 3 weekly downloads. As such, gulp-md-template popularity was classified as not popular.
We found that gulp-md-template 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.