Skip to content

Gulp extension to add space between Chinese and English characters to file(s) in the pipeline.

License

Notifications You must be signed in to change notification settings

7kfpun/gulp-pangu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-pangu Build Status

NPM

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.

About

Gulp extension to add space between Chinese and English characters to file(s) in the pipeline.

Resources

License

Stars

Watchers

Forks

Packages

No packages published