1.2.1 • Published 5 years ago

gulp-html2txt v1.2.1

Weekly downloads
376
License
BSD-2-Clause
Repository
github
Last release
5 years ago

gulp-html2txt NPM version Build Status

Converts HTML to txt using html-to-text

Usage

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.

1.2.1

5 years ago

1.2.0

8 years ago

1.1.0

9 years ago

1.0.0

10 years ago

0.0.1

10 years ago