gulp-replace-div

1.0.2 • Public • Published

gulp-replace-div

gitter NPM version Build codecov.io js-standard-style

Install

$ npm i -S gulp-replace-div

Usages

var gulp = require('gulp');

var replace_div = require('gulp-replace-div')
 
gulp.task('default', function() {
   gulp.src('fixture.md').pipe(replace_div('en', '')).pipe(gulp.dest('dist'))
});

replace_div参数

  • 第一个参数是class,即div的class
  • 第二个参数是要替换的字符串,不填写为空字符

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

版本历史

  • v1.1.0 实现可编程调用
  • v1.0.0 初始化版本cli,实现kp导出

欢迎fork和反馈

如有建议或意见,请在issue提问或邮件

License

this repo is released under the MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-replace-div

Weekly Downloads

1

Version

1.0.2

License

ISC

Last publish

Collaborators

  • zhaoxingyue
  • zhangyuang
  • langshu