gulp-pangu

Gulp extension to add space between .

Usage no npm install needed!

<script type="module">
  import gulpPangu from 'https://cdn.skypack.dev/gulp-pangu';
</script>

README

gulp-pangu Build Status

gulp-pangu is a Gulp extension to add space between Chinese and English characters to file(s) in the pipeline.

The algorithm is from paranoid-auto-spacing

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

Install

$ npm install --save-dev gulp-pangu

Usage

// include the required packages.
var gulp = require('gulp');
var pangu = require('gulp-pangu');

gulp.task('pangu', function() {
  gulp.src(['./test.html'])
  .pipe(pangu())
  .pipe(gulp.dest('./dist/'));
});

License

Released under the MIT License.