Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-clean

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-clean

A gulp plugin for removing files and folders.

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
83K
decreased by-2.1%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-clean Build Status NPM version

Removes files and folders.

Install

Install with npm.

npm install --save-dev gulp-clean

Example

var gulp = require('gulp');
var clean = require('gulp-clean');

gulp.task('default', function() {
	gulp.src(['app/tmp'])
		.pipe(clean());
});

After using gulp-clean the stream still contains the app/tmp and it can be used i.e. for moving the content to different location.

For safety only files and folders under the current working directory can be removed.

Changelog

This Changelog follows Semantic Versioning.

  • 0.1.2 * Better documentation. * Fixed a bug in tests.
  • 0.1.1 * Improved documentation.
  • 0.1.0 * Possibility to remove files and folders from given paths. * Don't remove current working directory. * Don't remove anything from outside the current working directory.

License

MIT @ Peter Vilja

Keywords

FAQs

Package last updated on 24 Dec 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc