Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
gulp-html2pug
Advanced tools
Convert html files to pug
$ npm install --save-dev gulp-html2pug
Convert index.html
to pug/index.pug
:
import gulp from 'gulp';
import html2pug from 'gulp-html2pug';
gulp.task('pug', () =>
gulp.src('index.html')
.pipe(html2pug(/* options for html2pug such as { fragment: true } */))
.pipe(gulp.dest('pug'))
);
See the LICENSE file for license rights and limitations (MIT).
FAQs
Gulp plugin to convert html files to pug
We found that gulp-html2pug demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.