Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

gulp-html2md

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-html2md

Removes unneeded whitespaces, line-breaks, comments, etc from HTML

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
8
300%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-html2md NPM version Build status

Cleans your HTML using html-md

Usage

First, install gulp-html2md as a development dependency:

npm install --save-dev gulp-html2md

Then, add it to your gulpfile.js:

var html2md = require('gulp-html2md');

gulp.task('default', function(){
  gulp.src('index.html')
    .pipe(html2md())
    .pipe(gulp.dest('build'));
});

The above will convert index.html to index.md!

Keywords

html

FAQs

Package last updated on 15 Sep 2014

Did you know?

Socket

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.

Install

Related posts