gulp-html2txt
Advanced tools
Weekly downloads
Readme
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 422 weekly downloads. As such, gulp-html2txt popularity was classified as not 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 installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.