{"_id":"gulp-html-minifier","_rev":"19-bfbe1620784517b9fdb1d38234ed841f","name":"gulp-html-minifier","description":"Minify HTML with html-minifier.","dist-tags":{"latest":"0.1.8"},"versions":{"0.1.4":{"name":"gulp-html-minifier","description":"Minify HTML with html-minifier.","version":"0.1.4","homepage":"https://github.com/origin1tech/gulp-html-minifier","author":{"name":"Origin1 Technologies","url":"https://github.com/origin1tech"},"repository":{"type":"git","url":"https://github.com/origin1tech/gulp-html-minifier.git"},"bugs":{"url":"https://github.com/origin1tech/gulp-html-minifier/issues"},"licenses":[{"type":"MIT","url":"https://github.com/origin1tech/gulp-html-minifier/blob/master/LICENSE.md"}],"main":"index.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.16.1"},"dependencies":{"event-stream":"~3.0.20","html-minifier":"~0.6.0","gulp-util":"~2.2.14"},"keywords":["gulpplugin","html","html minifier","html minify","minify"],"_id":"gulp-html-minifier@0.1.4","dist":{"shasum":"7f11734d6f15ed46777bd083d683010970191ddf","tarball":"https://registry.npmjs.org/gulp-html-minifier/-/gulp-html-minifier-0.1.4.tgz","integrity":"sha512-0hO9nMxUlqyoRte8rH65I5vD7MZvzvc9wLB+thOIqxyDJOckqCx57h2ht96UdKm4eY5FPZyl/5PrmxSr0HZZ5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4V8MoxZsOVSYyw06lmTm8W7tTJQBUmJ4tRBVWFSVHZwIhALPv+llsKa4iUKHhA0dk1IjOVO5WUiojqkzt7orIgsVI"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"chazelton","email":"origin1tech@gmail.com"},"maintainers":[{"name":"chazelton","email":"origin1tech@gmail.com"}]},"0.1.5":{"name":"gulp-html-minifier","description":"Minify HTML with html-minifier.","version":"0.1.5","homepage":"https://github.com/origin1tech/gulp-html-minifier","author":{"name":"Origin1 Technologies","url":"https://github.com/origin1tech"},"repository":{"type":"git","url":"https://github.com/origin1tech/gulp-html-minifier.git"},"bugs":{"url":"https://github.com/origin1tech/gulp-html-minifier/issues"},"licenses":[{"type":"MIT","url":"https://github.com/origin1tech/gulp-html-minifier/blob/master/LICENSE.md"}],"main":"index.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.16.1"},"dependencies":{"event-stream":"~3.0.20","html-minifier":"~0.6.0","gulp-util":"~2.2.14"},"keywords":["gulpplugin","html","html minifier","html minify","minify"],"_id":"gulp-html-minifier@0.1.5","dist":{"shasum":"03aa11817f2e3bd27da216eb1777fda7e6d10a51","tarball":"https://registry.npmjs.org/gulp-html-minifier/-/gulp-html-minifier-0.1.5.tgz","integrity":"sha512-FmQ89Ry+E63X1rQz0T+6KnrvCMdh96I3kkMEZaBVdnnltREthIF3G9D+GPyIRsRj0lSkqSt89tEYrkLdWcxgpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzZtAxAY2WVOAekRIeL1DfooInNCKeWnNZuRdI/oW45gIhAPBr0B9CEhFR7yXLJroW1BUMqw+nAWpnE3vIXn1U0kDB"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"chazelton","email":"origin1tech@gmail.com"},"maintainers":[{"name":"chazelton","email":"origin1tech@gmail.com"}]},"0.1.6":{"name":"gulp-html-minifier","description":"Minify HTML with html-minifier.","version":"0.1.6","homepage":"https://github.com/origin1tech/gulp-html-minifier","author":{"name":"Origin1 Technologies","url":"https://github.com/origin1tech"},"repository":{"type":"git","url":"https://github.com/origin1tech/gulp-html-minifier.git"},"bugs":{"url":"https://github.com/origin1tech/gulp-html-minifier/issues"},"licenses":[{"type":"MIT","url":"https://github.com/origin1tech/gulp-html-minifier/blob/master/LICENSE.md"}],"main":"index.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.16.1"},"dependencies":{"event-stream":"^3.0.20","gulp-util":"^2.2.20","html-minifier":"^0.6.9"},"keywords":["gulpplugin","html","html minifier","html minify","minify"],"gitHead":"9691446f3e44b7f7373ec0911ba36b2fa03549e2","_id":"gulp-html-minifier@0.1.6","_shasum":"74c970dac43809036a8704744d4aef2cd89c24e3","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"origin1tech","email":"origin1tech@gmail.com"},"maintainers":[{"name":"chazelton","email":"origin1tech@gmail.com"},{"name":"origin1tech","email":"origin1tech@gmail.com"}],"dist":{"shasum":"74c970dac43809036a8704744d4aef2cd89c24e3","tarball":"https://registry.npmjs.org/gulp-html-minifier/-/gulp-html-minifier-0.1.6.tgz","integrity":"sha512-z889OSGK3BEIaEs1iYY0hXpDsaMMRXQxqYe8OoulrfgFgksoNfV65fwzoVkBKLVlxQR8TFxXW2Bj5+dIZ2S6/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCHz8pgYag8nd1bnFVKbTYQiPLokyxZi/WJpUczmq5pz8CIQCZwui3SId1aX3FtsfFwnIAIC0jHUNnGOY/Idnk/RiBOw=="}]}},"0.1.7":{"name":"gulp-html-minifier","description":"Minify HTML with html-minifier.","version":"0.1.7","homepage":"https://github.com/origin1tech/gulp-html-minifier","author":{"name":"Origin1 Technologies","url":"https://github.com/origin1tech"},"repository":{"type":"git","url":"git+https://github.com/origin1tech/gulp-html-minifier.git"},"bugs":{"url":"https://github.com/origin1tech/gulp-html-minifier/issues"},"licenses":[{"type":"MIT","url":"https://github.com/origin1tech/gulp-html-minifier/blob/master/LICENSE.md"}],"main":"index.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.16.1"},"dependencies":{"event-stream":"^3.0.20","gulp-util":"^2.2.20","html-minifier":"^1.0.1"},"keywords":["gulpplugin","html","html minifier","html minify","minify"],"gitHead":"d1e27d706b0b056a31ce6354d3ec3c899b64b9b6","_id":"gulp-html-minifier@0.1.7","_shasum":"956af73312acc2f3ddfd86750b253cfc96e0e594","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.1.0","_npmUser":{"name":"origin1tech","email":"origin1tech@gmail.com"},"dist":{"shasum":"956af73312acc2f3ddfd86750b253cfc96e0e594","tarball":"https://registry.npmjs.org/gulp-html-minifier/-/gulp-html-minifier-0.1.7.tgz","integrity":"sha512-NMIAQpTcBUqvhCX9xvjhCYJO0YtOx/dt9KWU3FZ9TenIObvgJhiVxSfxJ94YGarrzrGNp1QVUY7Ycc3zod28rg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHdiFTnxIQKp9EwrkKQYxiUiJnjA6VaJ500i2sg2xux/AiEAnBFdUsfDZECGXIcUQweZWh96J+8igkw7NnAgDzJPO6M="}]},"maintainers":[{"name":"chazelton","email":"origin1tech@gmail.com"},{"name":"origin1tech","email":"origin1tech@gmail.com"}]},"0.1.8":{"name":"gulp-html-minifier","description":"Minify HTML with html-minifier.","version":"0.1.8","homepage":"https://github.com/origin1tech/gulp-html-minifier","author":{"name":"Origin1 Technologies","url":"https://github.com/origin1tech"},"repository":{"type":"git","url":"git+https://github.com/origin1tech/gulp-html-minifier.git"},"bugs":{"url":"https://github.com/origin1tech/gulp-html-minifier/issues"},"licenses":[{"type":"MIT","url":"https://github.com/origin1tech/gulp-html-minifier/blob/master/LICENSE.md"}],"main":"index.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.16.1"},"dependencies":{"event-stream":"^3.0.20","gulp-util":"^2.2.20","html-minifier":"^1.1.1","htmllint":"^0.2.7"},"keywords":["gulpplugin","html","html minifier","html minify","minify"],"gitHead":"7e0218167339a2ee5598200fb6f135e4635439ef","_id":"gulp-html-minifier@0.1.8","_shasum":"b0dd99d96ad01c0a88d79465ed44f94d6a2b549a","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.1.0","_npmUser":{"name":"origin1tech","email":"origin1tech@gmail.com"},"dist":{"shasum":"b0dd99d96ad01c0a88d79465ed44f94d6a2b549a","tarball":"https://registry.npmjs.org/gulp-html-minifier/-/gulp-html-minifier-0.1.8.tgz","integrity":"sha512-aAhpG3UnTnGWFv6XWBUSGUwsrzNCaqcjBBBCN40fProvWip70d81NN/4D5bbe0MGW1lu/VsfZpAQ0oZZW4xkuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5zVSQsnNuKv1qU3p5I85BJT5YDFYdVyqPPM//ApEX4gIgOgTNOZXwfAS/yFWKQsRA5gkHLm3KlxTPaYIP+23A89Y="}]},"maintainers":[{"name":"chazelton","email":"origin1tech@gmail.com"},{"name":"origin1tech","email":"origin1tech@gmail.com"}]}},"readme":"# gulp-html-minifier\n\n> Minifies HTML using the html-minifier module. See [html-minifer](https://github.com/kangax/html-minifier) \n\n## Getting Started\nInstall the module with: \n\n````\nnpm install gulp-html-minifier\n`````\n\n## Usage\n\nAlong with the default options for html-minifier gulp-html-minifier exposes two additional handy methods. You can ignore\npaths within the filepath preventing the need to pipe in a rename. This is similar to what gulp-inject does. \n\nAlso you can pass in the environment to simply output your html to the destination ignoring the above paths if any but\nminification is not applied. This is helpful and probably what you want in the development process.\n\n```js\nvar gulp = require('gulp');\nvar htmlmin = require('gulp-html-minifier');\n\ngulp.task('minify', function() {\n  gulp.src('./src/*.html')\n    .pipe(htmlmin({collapseWhitespace: true}))\n    .pipe(gulp.dest('./dist'))\n});\n````\n\n##Ignore Path\n\n```js\nvar gulp = require('gulp');\nvar htmlmin = require('gulp-html-minifier');\n\ngulp.task('minify', function() {\n  gulp.src('./src/assets/*.html')\n    .pipe(htmlmin({collapseWhitespace: true, ignorePath: '/assets' }))\n    .pipe(gulp.dest('./dist'))\n});\n````\n\n##Development Mode\n\nIf you pass into your options minification is skipped however ignore path will still be applied. This makes viewing\nsource and element inspection easier as you probably don't want minified html when you're developing your application.\n\n````js\noptions.env = 'development'\n````\n\n##Complete Options\n\nSee the [html-minifer docs](https://github.com/kangax/html-minifier) for complete options.\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.\n\n## Original Author\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## Fork Author\n\n+ [github/origin1tech](https://github.com/origin1tech)\n\n## License\nCopyright (c) 2014 Jon Schlinkert\nLicensed under the MIT license.","maintainers":[{"name":"chazelton","email":"origin1tech@gmail.com"},{"name":"origin1tech","email":"origin1tech@gmail.com"}],"time":{"modified":"2022-06-18T17:13:15.743Z","created":"2014-06-23T20:14:59.181Z","0.1.4":"2014-06-23T20:14:59.181Z","0.1.5":"2014-06-24T00:48:40.897Z","0.1.6":"2014-11-01T04:33:54.677Z","0.1.7":"2016-01-02T18:17:38.158Z","0.1.8":"2016-01-08T18:40:38.586Z"},"homepage":"https://github.com/origin1tech/gulp-html-minifier","keywords":["gulpplugin","html","html minifier","html minify","minify"],"repository":{"type":"git","url":"git+https://github.com/origin1tech/gulp-html-minifier.git"},"author":{"name":"Origin1 Technologies","url":"https://github.com/origin1tech"},"bugs":{"url":"https://github.com/origin1tech/gulp-html-minifier/issues"},"readmeFilename":"README.md","users":{"origin1tech":true,"wangwen1220":true,"denji":true,"landy2014":true,"gskema":true,"ericwbailey":true}}