node package manager

gulp-asianbreak-html

DEPRECATED

Use vinyl-transform instead.

Example

const gulp = require('gulp');
const transform = require('vinyl-transform');
const asianbreak = require('asianbreak-html');
 
gulp.task('build', () => {
  return gulp.src('some.html')
    .pipe(transform(asianbreak))
    .pipe(gulp.dest('.'));
 
  // With options 
  return gulp.src('some.html')
    .pipe(transform(asianbreak.bind(null, {foo: 42})))
    .pipe(gulp.dest('.'));
});

gulp-asianbreak-html

Build Status NPM version Dependency Status

Use asianbreak-html as Gulp plugin.

Usage

const gulp = require('gulp');
const asianbreak = require('gulp-asianbreak-html');
 
gulp.task('build', () => {
  return gulp.src('some.html')
    .pipe(asianbreak())
    .pipe(gulp.dest('.'));
});

API

asianbreak([options])

Create stream to convert vinyl files into asianbreak-ed.