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.
gulp-pug-3
Advanced tools
Gulp plugin for compiling Pug templates using the latest stable version of Pug Template Engine.
Compiles your pug templates into 'html' or 'js' easily and always uses the latest stable version of Pug Template Engine.
npm install --save-dev gulp-pug-3
In addition to Pug's API: client, extension and locals options are available.
const pug = require('gulp-pug-3');
gulp.task('build', () =>
gulp.src('public/**/*.pug')
.pipe(
pug({
// Your options.
})
)
.pipe(gulp.dest('dist'));
);
gulp.task('build:X', () =>
gulp.src('public/**/*.pug')
.pipe(
pug({
locals: { dir: 'rtl', lang: 'es' },
extension: 'htm',
// Pug API default opts...
basedir: `${__dirname}/public`
})
)
.pipe(gulp.dest('dist'));
)
When you encounter a problem, please open an issue. I would be glad to help you to find a solution if possible.
Github: @orcunsaltik
See the LICENSE file for license rights and limitations (MIT).
FAQs
Gulp plugin for compiling Pug templates using the latest stable version of Pug Template Engine.
We found that gulp-pug-3 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
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.