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-html2txt
Advanced tools
Converts HTML to txt using html-to-text
First, install gulp-html2txt
as a development dependency:
npm install --save-dev gulp-html2txt
Then, add it to your gulpfile.js
:
var html2txt = require('gulp-html2txt');
gulp.task('default', function(){
gulp.src('index.html')
.pipe(html2txt(options)) // options as in `html-to-text`
.pipe(gulp.dest('dist'));
});
The above will convert index.html to index.txt.
FAQs
gulp plugin to convert html to text
The npm package gulp-html2txt receives a total of 5,116 weekly downloads. As such, gulp-html2txt popularity was classified as popular.
We found that gulp-html2txt 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.
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.