Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

gulp-html2txt

Package Overview
Dependencies
3
Maintainers
1
Versions
5
Issues
File Explorer

Advanced tools

gulp-html2txt

gulp plugin to convert html to text

    1.2.1latest
    GitHub

Version published
Maintainers
1
Weekly downloads
566
decreased by-43.12%

Weekly downloads

Readme

Source

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.

Keywords

FAQs

Last updated on 28 Jan 2019

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.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc