Socket
Book a DemoInstallSign in
Socket

hydro-clean-dir

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hydro-clean-dir

Empty given directories after each test

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

NPM
version Build Status Coverage Status

hydro-clean-dir

Synopsis

Empty given directories after each test.

Useful to clean local tmp locations.

Usage

Config:

hydro.set({
  plugins: ['hydro-clean-dir'],
  cleanDir: {
    keepDot: true // keep dot files, default: false
    paths: [join('test', 'tmp')] // array of paths to directories
  }
});

Installation

npm:

npm install hydro-clean-dir

Tests

$ npm test

License

The MIT License (see LICENSE)

Keywords

hydroplugin

FAQs

Package last updated on 29 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