{"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"keywords":["gulpplugin","clean","remove","delete"],"dist-tags":{"latest":"0.3.2"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"description":"A gulp plugin for removing files and folders.","readme":"Deprecated in favor of [https://github.com/gulpjs/gulp/blob/master/docs/recipes/delete-files-folder.md](https://github.com/gulpjs/gulp/blob/master/docs/recipes/delete-files-folder.md)\n\n# [gulp](https://github.com/wearefractal/gulp)-clean [![Build Status](https://secure.travis-ci.org/peter-vilja/gulp-clean.png?branch=master)](https://travis-ci.org/peter-vilja/gulp-clean) [![NPM version](https://badge.fury.io/js/gulp-clean.png)](http://badge.fury.io/js/gulp-clean)\n\n> Removes files and folders.\n\n## Install\n\nInstall with [npm](https://npmjs.org/package/gulp-clean).\n\n```\nnpm install --save-dev gulp-clean\n```\n\n## Examples\n\n```js\nvar gulp = require('gulp');\nvar clean = require('gulp-clean');\n\ngulp.task('default', function () {\n\treturn gulp.src('app/tmp', {read: false})\n\t\t.pipe(clean());\n});\n```\nOption read:false prevents gulp from reading the contents of the file and makes this task a lot faster. If you need the file and its contents after cleaning in the same stream, do not set the read option to false.\n\n```js\nvar gulp = require('gulp');\nvar clean = require('gulp-clean');\n\ngulp.task('default', function () {\n\treturn gulp.src('app/tmp/index.js')\n\t\t.pipe(clean({force: true}))\n\t\t.pipe(gulp.dest('dist'));\n});\n```\n\n##### For safety files and folders outside the current working directory can be removed only with option force set to true.\n\nClean as a dependency:\n\n```js\nvar gulp = require('gulp');\nvar clean = require('gulp-clean');\n\ngulp.task('clean-scripts', function () {\n  return gulp.src('app/tmp/*.js', {read: false})\n    .pipe(clean());\n});\n\ngulp.task('scripts', ['clean-scripts'], function () {\n  gulp.src('app/scripts/*.js')\n    .pipe(gulp.dest('app/tmp'));\n});\n\ngulp.task('default', ['scripts']);\n```\n\nMake sure to return the stream so that gulp knows the clean task is [asynchronous](https://github.com/gulpjs/gulp/blob/master/docs/API.md#async-task-support) and waits for it to terminate before starting the dependent one.\n\n## License\n\n[MIT](http://en.wikipedia.org/wiki/MIT_License) @ Peter Vilja\n","repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"users":{"growdigital":true,"demisx":true,"martin.wojtala":true,"dansullivan86":true,"7layersdesign":true,"zibe":true,"cshao":true,"evanportwood":true,"palmdeezy":true,"delch":true,"xanderiel":true,"bonez":true,"codeshrew":true,"furzeface":true,"takethefire":true,"h4des":true,"myhonor":true,"zoxon":true,"majorbarberry":true,"briancrumley":true,"enuobear":true,"andamira":true,"phoenix-xsy":true,"robermac":true,"jerkovicl":true,"darg":true,"arahnoid":true,"landen":true,"sparrow":true,"abrahamwilliams":true,"dmarsh":true,"shlomi":true,"olliesk8":true,"xueboren":true,"edloidas":true,"claudiomaxx":true,"flynntsc":true,"elussich":true,"fotooo":true,"pandao":true,"csharlie":true,"bits":true,"jackstraw":true,"wangnan0610":true,"kaktusv6":true,"arttse":true,"niuca":true,"seleckis":true,"ivan403704409":true,"dennykuo":true,"jytu":true,"jtuesday":true,"jordietyahii":true,"landy2014":true,"monjer":true,"ijunlin":true,"rubiadias":true,"danielgr":true,"amandavianna":true,"vishwasc":true,"xiaochao":true,"vchouhan":true,"haihepeng":true,"n1kkou":true,"jimco":true,"peunzhang":true,"xfloops":true,"caijf":true,"ezeikel":true,"marcobiedermann":true,"quality520":true,"rlihm":true,"ghostcode521":true,"kida72124":true,"umidjons":true,"fabioew89":true,"outboundexplorer":true,"maxwang":true,"olonam":true,"eswat2":true,"deparadise":true,"stone-jin":true,"evandrosevergnini":true,"alexdevero":true,"raojs":true,"yikuo":true,"sabrinabgbc":true,"okraciunas":true,"chinawolf_wyp":true,"brofox":true},"bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"license":"MIT","versions":{"0.1.1":{"name":"gulp-clean","version":"0.1.1","description":"A gulp plugin for removing files and folders.","keywords":["gulpplugin"],"homepage":"https://github.com/peter-vilja/gulp-clean","bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"main":"index.js","repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"scripts":{"test":"mocha tests.js"},"dependencies":{"rimraf":"~2.2.5","event-stream":"~3.0.20","gulp-util":"~2.2.0"},"devDependencies":{"mocha":"~1.16.1","chai":"~1.8.1"},"licenses":[{"type":"MIT"}],"_id":"gulp-clean@0.1.1","dist":{"shasum":"c8b46064baec698bd9323edb566b2fa38cd3deb8","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/gulp-clean/-/gulp-clean-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"petervilja","email":"peter.vilja@gmail.com"},"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"directories":{},"deprecated":"use gulp-rimraf instead"},"0.1.2":{"name":"gulp-clean","version":"0.1.2","description":"A gulp plugin for removing files and folders.","keywords":["gulpplugin","clean"],"homepage":"https://github.com/peter-vilja/gulp-clean","bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"main":"index.js","repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"scripts":{"test":"mocha tests.js"},"dependencies":{"rimraf":"~2.2.5","event-stream":"~3.0.20","gulp-util":"~2.2.0"},"devDependencies":{"mocha":"~1.16.1","chai":"~1.8.1","gulp":"~3.2.1"},"licenses":[{"type":"MIT"}],"_id":"gulp-clean@0.1.2","dist":{"shasum":"4a9fbbbc7999f4e1bb0725ad11814f0585691cdc","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/gulp-clean/-/gulp-clean-0.1.2.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"petervilja","email":"peter.vilja@gmail.com"},"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"directories":{},"deprecated":"use gulp-rimraf instead"},"0.1.3":{"name":"gulp-clean","version":"0.1.3","description":"A gulp plugin for removing files and folders.","keywords":["gulpplugin","clean","remove"],"homepage":"https://github.com/peter-vilja/gulp-clean","bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"main":"index.js","repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"scripts":{"test":"mocha test.js"},"dependencies":{"rimraf":"~2.2.5","event-stream":"~3.0.20","gulp-util":"~2.2.0"},"devDependencies":{"mocha":"~1.16.1","chai":"~1.8.1"},"licenses":[{"type":"MIT"}],"_id":"gulp-clean@0.1.3","dist":{"shasum":"62e63e24e5bc4aad3107a5483496983cb04699b0","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/gulp-clean/-/gulp-clean-0.1.3.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"petervilja","email":"peter.vilja@gmail.com"},"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"directories":{},"deprecated":"use gulp-rimraf instead"},"0.2.0":{"name":"gulp-clean","version":"0.2.0","description":"A gulp plugin for removing files and folders.","keywords":["gulpplugin","clean","remove"],"homepage":"https://github.com/peter-vilja/gulp-clean","bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"main":"index.js","repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"scripts":{"test":"mocha test.js"},"dependencies":{"rimraf":"~2.2.5","event-stream":"~3.0.20","gulp-util":"~2.2.0"},"devDependencies":{"mocha":"~1.16.1","chai":"~1.8.1"},"licenses":[{"type":"MIT"}],"_id":"gulp-clean@0.2.0","dist":{"shasum":"36677049659a52349626f6efa74ca84b0de8e564","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/gulp-clean/-/gulp-clean-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"petervilja","email":"peter.vilja@gmail.com"},"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"directories":{},"deprecated":"use gulp-rimraf instead"},"0.2.1":{"name":"gulp-clean","version":"0.2.1","description":"A gulp plugin for removing files and folders.","keywords":["gulpplugin","clean","remove"],"homepage":"https://github.com/peter-vilja/gulp-clean","bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"main":"index.js","repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"scripts":{"test":"mocha test.js"},"dependencies":{"rimraf":"~2.2.5","event-stream":"~3.0.20","gulp-util":"~2.2.0"},"devDependencies":{"mocha":"~1.16.1","chai":"~1.8.1"},"licenses":[{"type":"MIT"}],"_id":"gulp-clean@0.2.1","dist":{"shasum":"87c18e6d0b32e224ad13bc394086fe0997d72e32","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/gulp-clean/-/gulp-clean-0.2.1.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"petervilja","email":"peter.vilja@gmail.com"},"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"directories":{},"deprecated":"use gulp-rimraf instead"},"0.2.2":{"name":"gulp-clean","version":"0.2.2","description":"A gulp plugin for removing files and folders.","keywords":["gulpplugin","clean","remove"],"homepage":"https://github.com/peter-vilja/gulp-clean","bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"main":"index.js","repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"scripts":{"test":"mocha test.js"},"dependencies":{"rimraf":"~2.2.5","event-stream":"~3.0.20","gulp-util":"~2.2.0"},"devDependencies":{"mocha":"~1.16.1","chai":"~1.8.1"},"licenses":[{"type":"MIT"}],"_id":"gulp-clean@0.2.2","dist":{"shasum":"4072cb27915666bdccc71555d0897c27388245e7","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/gulp-clean/-/gulp-clean-0.2.2.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"petervilja","email":"peter.vilja@gmail.com"},"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"directories":{},"deprecated":"use gulp-rimraf instead"},"0.2.3":{"name":"gulp-clean","version":"0.2.3","description":"A gulp plugin for removing files and folders.","keywords":["gulpplugin","clean","remove"],"homepage":"https://github.com/peter-vilja/gulp-clean","bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"main":"index.js","repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"scripts":{"test":"mocha test.js"},"dependencies":{"rimraf":"~2.2.5","event-stream":"~3.0.20","gulp-util":"~2.2.0"},"devDependencies":{"mocha":"~1.16.1","chai":"~1.8.1"},"licenses":[{"type":"MIT"}],"_id":"gulp-clean@0.2.3","dist":{"shasum":"c9061ea41074c1b5d9bdf11fe72700c60c71584e","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/gulp-clean/-/gulp-clean-0.2.3.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"petervilja","email":"peter.vilja@gmail.com"},"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"directories":{},"deprecated":"use gulp-rimraf instead"},"0.2.4":{"name":"gulp-clean","version":"0.2.4","description":"A gulp plugin for removing files and folders.","keywords":["gulpplugin","clean","remove"],"homepage":"https://github.com/peter-vilja/gulp-clean","bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"main":"index.js","repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"scripts":{"test":"mocha test.js"},"dependencies":{"rimraf":"~2.2.6","event-stream":"~3.1.0","gulp-util":"~2.2.12"},"devDependencies":{"mocha":"~1.17.0","chai":"~1.8.1"},"engines":{"node":">=0.9"},"licenses":[{"type":"MIT"}],"_id":"gulp-clean@0.2.4","dist":{"shasum":"fb5e910e7a3f6201831d1dcd19eea553241bb357","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/gulp-clean/-/gulp-clean-0.2.4.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"petervilja","email":"peter.vilja@gmail.com"},"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"deprecated":"use gulp-rimraf instead","directories":{}},"0.3.0":{"name":"gulp-clean","version":"0.3.0","description":"A gulp plugin for removing files and folders.","keywords":["gulpplugin","clean","remove","delete"],"homepage":"https://github.com/peter-vilja/gulp-clean","bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"main":"index.js","repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"scripts":{"test":"mocha test.js"},"dependencies":{"rimraf":"^2.2.8","gulp-util":"^2.2.14","through2":"^0.4.2"},"devDependencies":{"mocha":"^1.19.0","chai":"^1.9.1"},"engines":{"node":">=0.9"},"licenses":[{"type":"MIT"}],"_id":"gulp-clean@0.3.0","dist":{"shasum":"82a7dbffe8efe7b06c307bb7ad8062815329fab0","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/gulp-clean/-/gulp-clean-0.3.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"petervilja","email":"peter.vilja@gmail.com"},"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"deprecated":"use gulp-rimraf instead","directories":{}},"0.3.1":{"name":"gulp-clean","version":"0.3.1","description":"A gulp plugin for removing files and folders.","keywords":["gulpplugin","clean","remove","delete"],"homepage":"https://github.com/peter-vilja/gulp-clean","bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"main":"index.js","repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"scripts":{"test":"mocha test.js"},"dependencies":{"rimraf":"^2.2.8","gulp-util":"^2.2.14","through2":"^0.4.2"},"devDependencies":{"mocha":"^1.19.0","chai":"^1.9.1"},"engines":{"node":">=0.9"},"licenses":[{"type":"MIT"}],"_id":"gulp-clean@0.3.1","dist":{"shasum":"52b08a6dfab27a81c67826eeb97affb4aa5f756d","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/gulp-clean/-/gulp-clean-0.3.1.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"petervilja","email":"peter.vilja@gmail.com"},"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"deprecated":"use gulp-rimraf instead","directories":{}},"0.3.2":{"name":"gulp-clean","version":"0.3.2","description":"A gulp plugin for removing files and folders.","keywords":["gulpplugin","clean","remove","delete"],"homepage":"https://github.com/peter-vilja/gulp-clean","bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"main":"index.js","repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"scripts":{"test":"mocha test.js"},"dependencies":{"rimraf":"^2.2.8","gulp-util":"^2.2.14","through2":"^0.4.2"},"devDependencies":{"mocha":"^1.19.0","chai":"^1.9.1"},"engines":{"node":">=0.9"},"license":"MIT","gitHead":"b4c1fcf6e3a9b24339af024411f8c2038f07bc13","_id":"gulp-clean@0.3.2","_shasum":"a347d473acea40182f935587a451941671928102","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"petervilja","email":"peter.vilja@gmail.com"},"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"dist":{"shasum":"a347d473acea40182f935587a451941671928102","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/gulp-clean/-/gulp-clean-0.3.2.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/gulp-clean-0.3.2.tgz_1457034255108_0.3065810326952487"},"directories":{}}},"name":"gulp-clean","time":{"modified":"2017-04-27T17:18:24.736Z","created":"2013-12-23T17:09:17.728Z","0.1.1":"2013-12-23T17:09:23.262Z","0.1.2":"2013-12-24T08:20:01.483Z","0.1.3":"2014-01-01T17:56:06.914Z","0.2.0":"2014-01-07T19:43:52.401Z","0.2.1":"2014-01-08T08:41:21.385Z","0.2.2":"2014-01-08T13:34:19.871Z","0.2.3":"2014-01-16T21:34:34.823Z","0.2.4":"2014-01-19T22:18:59.228Z","0.3.0":"2014-05-25T10:46:12.030Z","0.3.1":"2014-06-25T07:29:49.529Z","0.3.2":"2016-03-03T19:44:18.226Z"},"readmeFilename":"README.md","homepage":"https://github.com/peter-vilja/gulp-clean"}