gulp-rmindentation

0.1.0 • Public • Published

Description

remove indent and CRLF for html strings.

Installation

Install package with NPM and add it to your development dependencies:

npm install --save-dev gulp-rmindentation

Description

Htmlのインデントや改行で、不要なスペースができるのを解消します。 行頭の半角スペース、全角スペース、タブ文字、および行末の改行を削除します。

<div>
  <span> </span>
  <span> </span>
</div>

<div><span> </span><span> </span></div>

Information

Packagegulp-rmindent
Description remove indent and CRLF for html strings

Usage

var rmindentation = require('gulp-rmindentation');
 
gulp.task('scripts', function() {
  return gulp.src('./src/*.html')
    .pipe(rmindentation())
    .pipe(gulp.dest('./dist/'));
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    4
  • 0.0.2
    3

Package Sidebar

Install

npm i gulp-rmindentation

Weekly Downloads

4

Version

0.1.0

License

MIT

Last publish

Collaborators

  • nabepon