7kfpun/gulp-pangu

语言: JavaScript

git: https://github.com/7kfpun/gulp-pangu

Gulp扩展,用于将中文和英文字符之间的空格添加到管道中的文件中。
Gulp extension to add space between Chinese and English characters to file(s) in the pipeline.
README.md (中文)

谷丽萍-盘古

NPM

gulp-pangu是一个Gulp扩展,用于将中文和英文字符之间的空格添加到管道中的文件中。

该算法来自偏执自动间隔

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

安装

$ npm install --save-dev gulp-pangu

用法

// 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/'));
});

执照

根据MIT许可证发布。

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

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.