{"_id":"gulp-clean","_rev":"165-44cef52c78b4049750e40b0557fe7129","name":"gulp-clean","description":"A gulp plugin for removing files and folders.","dist-tags":{"latest":"0.4.0"},"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":"https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.1.1.tgz","integrity":"sha512-cz8gk0MmCSszjI8u1DidFWw4ORJT5kkBvb0n61bn2ymbYwTEZ4wXyyFKxYcnDjvtge2ZKFXwjhRqwJyHDnRW+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBgZQGOiXjeCRmI2JSbgb8jtoallxpi9iKwWf1on0ZOyAiBHo+IJqxauDGrGBGiq0Ss2zXlXR0TP2fa5A7GRUQbINw=="}]},"_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":"https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.1.2.tgz","integrity":"sha512-K2MRLMZvjVK8aDAUvglcxIQOTbB9D3V19+i5lGTzGJCnnk+1xkJttzS0UekKPiMwRRiXDJKdPM5OGh8jRZD1hA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAhMZhvW+s4hH/feZ01HcARVQwW8QqoqWVK2LbO53RpKAiEApqID2/K1c3sz+5tBaFjgQUfQoCsacUXjT46ZdxjrKP0="}]},"_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":"https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.1.3.tgz","integrity":"sha512-KE1AR/6GK2T61rF4rjYfeXuuDGqKmCShVnH1BEGpajC5hmGXu4J6NQUYDDXdf0fd088QuSfDyA6jl8joh5EcYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpynbkYxgVsrIJjqEqvpCqJrbKtrAmz109vfcraQY2DwIgB54AX+WVu439JKDfmGaNXDlBi03O9Zes31LNqycKYz8="}]},"_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":"https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.2.0.tgz","integrity":"sha512-qAxFCWFgc5nVf0oGkLIqgBPDBixDs7JVo5h8EzgfERyorTak3D5uqDtEtnSqHM+XFUhAkTS4Y5Xnbxe2Ob9S+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1Ng9tGKVsOilOnpU+ofr4dCei1Sch7cQ6AHJz1k+5kQIgSgbtk0KuNWRfNcUjhNZeCXMW4XFDiK7fSXK65v2JwoQ="}]},"_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":"https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.2.1.tgz","integrity":"sha512-GfmAtmp3uge5sPd7BPzgWp7GZsKRRQN6+poUM3n7QDVopbQhli5IqISVfbRBTWayTBeh7tzVBcIf5KFa4a1XJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAG6DY39neLY0ry6VhijIAXWJl65D+B/FPFczEW6iuuDAiBLkG1UlAeSQLACBLil1RpVOpJOvrFmGvcRwPLAenaaIQ=="}]},"_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":"https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.2.2.tgz","integrity":"sha512-+HVpkQpl2O+FElQncXZGOHeHucyvfk2bJCpSa9nNePUzLzHyWCI/WuiHOo2Ko/Uafb5iHTzmzIN2XSDaaHYXXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJAjtE0/A1j7auhDgNa1Tqdv0dC1KbNW4QtmDW3rO9gAiEAoEWcZNl15+ar0digqnwCK9RYJMh5K2j0bh59Zb+CnUQ="}]},"_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":"https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.2.3.tgz","integrity":"sha512-8Liomsn5bTKtUnF5w4zMtnz7VHciMuKN1PjX3aSUyYtQ/+z6OUHJdPmHQcP7jbHjOpIf5h/E3uHHptkvUrCZCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1LFuKEhcJbbpEzj3ZoVKLXGbdHVruhNB7lGsOd2smXAIgFvf696DIq93a1cfLpM96swm0LURuiOzAKCnIlJAahIU="}]},"_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":"https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.2.4.tgz","integrity":"sha512-zaWW8yHcpFiHQ6WisiUIzdKSSquar40fVj40Cny/jkWzR4kJm/o7DjZsPJkIMtEuxUG7od6KsVGs40wv3wqyYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxV+o1FUSiVhzaZn9UbxUth+KiAjULAsZK9cXMaldx6gIhAJPlNwcWL7lv+Wnjl1OzQZpJpfCG/YzuFeYyKdY4pfFv"}]},"_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":"https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.3.0.tgz","integrity":"sha512-KRG02j659uHGznCt2EC8kMTmxJxDdmk/AQRxSbBy6Np0eC0N8pBNV7PaRBQ6utbu0paoMcARgA1G6rkPd32igw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFeoV2GPxYS2QB+TY5aC1KQHujTdCNly/AXuJzXLe+lQIgLYU7L30/SB9HRXmdpk6TNgfLJX1m9Gnu+MGT9Xp0U8Y="}]},"_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":"https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.3.1.tgz","integrity":"sha512-hEz9mSd4o1IPaa5Cd7V8kc9MSuh23mbY78Cz3vdCM1VNXlYSXBlNt+tMkmAtYwCQedLZiTrLOrk8b2wCdC+LSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvFVtNklcub9JAL+00Y4j0mEipWXPOtx/f5fksBPPsDgIhAN3l9Ppjj8hQAUkvfxBMYYeDntQ01t6Ps08IOBmWDIq6"}]},"_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":"https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.3.2.tgz","integrity":"sha512-1pSOrC+PLKkEQz1HFl5L+TG0LV3/Tz/Y25lRk1IjTsE/agXWcqeeicBFJ1vDgokF+musc0vSBdm3xLXUU8cP1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFophEQcJgtPDyJwDzoSJWTGmrj+NnXvCgNOuLKZQj/mAiAroYFlw3f0D2EbJtPwg3Olg/LEwT3j4yvL239obDz1xw=="}]},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/gulp-clean-0.3.2.tgz_1457034255108_0.3065810326952487"},"directories":{}},"0.4.0":{"name":"gulp-clean","version":"0.4.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":{"fancy-log":"^1.3.2","plugin-error":"^0.1.2","rimraf":"^2.6.2","through2":"^2.0.3","vinyl":"^2.1.0"},"devDependencies":{"mocha":"^1.19.0","chai":"^1.9.1"},"engines":{"node":">=0.9"},"license":"MIT","gitHead":"1b2503e0b5bf7ad9568cd750a84e16931f5dc6ab","_id":"gulp-clean@0.4.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"petervilja","email":"peter.vilja@gmail.com"},"dist":{"integrity":"sha512-DARK8rNMo4lHOFLGTiHEJdf19GuoBDHqGUaypz+fOhrvOs3iFO7ntdYtdpNxv+AzSJBx/JfypF0yEj9ks1IStQ==","shasum":"3bc25e7084e641bbd7bde057cf90c01c50d95950","tarball":"https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.4.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1DWw0pbVauPUzIafDUxIelqQXCraEHHR1CFjfRsHNfQIhALRvOkOHuwqYi1SXZivcoiGnOWSP4U442Db52kwPDbiz"}]},"maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-clean-0.4.0.tgz_1515610953007_0.38168173655867577"},"directories":{}}},"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","maintainers":[{"name":"petervilja","email":"peter.vilja@gmail.com"}],"time":{"modified":"2023-05-14T02:56:06.931Z","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","0.4.0":"2018-01-10T19:02:33.922Z"},"author":{"name":"Peter Vilja","url":"https://github.com/peter-vilja"},"repository":{"type":"git","url":"git://github.com/peter-vilja/gulp-clean.git"},"readmeFilename":"README.md","users":{"growdigital":true,"demisx":true,"martin.wojtala":true,"dansullivan86":true,"7layersdesign":true,"zibe":true,"cshao":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,"sabrinabgbc":true,"okraciunas":true,"chinawolf_wyp":true,"sprying":true,"ironclad.soul":true,"zoser":true,"ldq-first":true,"janet-lu":true,"seaniap":true,"pollypocari":true,"luizsla":true,"viklakhani":true,"narsejo":true},"homepage":"https://github.com/peter-vilja/gulp-clean","keywords":["gulpplugin","clean","remove","delete"],"bugs":{"url":"https://github.com/peter-vilja/gulp-clean/issues"},"license":"MIT"}