# gulp-htmlnano
**Repository Path**: mirrors_posthtml/gulp-htmlnano
## Basic Information
- **Project Name**: gulp-htmlnano
- **Description**: Minify HTML with htmlnano
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-09-25
- **Last Updated**: 2025-09-21
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# gulp-htmlnano
[](http://badge.fury.io/js/gulp-htmlnano)
[](https://travis-ci.org/posthtml/gulp-htmlnano)
Minify HTML with [htmlnano](https://github.com/posthtml/htmlnano).
## Install
```
npm install --save-dev gulp-htmlnano
```
## Usage
```js
var gulp = require('gulp');
var htmlnano = require('gulp-htmlnano');
var options = {
removeComments: false
};
gulp.task('default', function() {
return gulp
.src('./index.html')
.pipe(htmlnano(options))
.pipe(gulp.dest('./build'));
});
```