# @runner/tools

> Simple task runner tools.

Latest version **1.2.0** (published 2018-07-05) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @runner/tools
pnpm add @runner/tools
yarn add @runner/tools
bun add @runner/tools
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2018-07-05 |
| First published | 2018-06-05 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Stanislav Kalashnik |
| Maintainers | runner |
| Keywords | task, runner, tools |

## Links

- npm: https://www.npmjs.com/package/@runner/tools
- Repository: https://github.com/runner/tools
- Homepage: https://github.com/runner/tools#readme
- Issues: https://github.com/runner/tools/issues
- npm.io page: https://npm.io/package/@runner/tools

## Dependencies (1)

- [@cjssdk/async](https://npm.io/package/@cjssdk/async.md) ^1.5.1

## Recent versions

- 1.2.0 (latest) — 2018-07-05
- 1.1.0 — 2018-06-13
- 1.0.0 — 2018-06-05

## README

Task runner tools
=================

[![build status](https://img.shields.io/travis/runner/tools.svg?style=flat-square)](https://travis-ci.org/runner/tools)
[![npm version](https://img.shields.io/npm/v/@runner/tools.svg?style=flat-square)](https://www.npmjs.com/package/@runner/tools)
[![dependencies status](https://img.shields.io/david/runner/tools.svg?style=flat-square)](https://david-dm.org/runner/tools)
[![devDependencies status](https://img.shields.io/david/dev/runner/tools.svg?style=flat-square)](https://david-dm.org/runner/tools?type=dev)
[![Gitter](https://img.shields.io/badge/gitter-join%20chat-blue.svg?style=flat-square)](https://gitter.im/DarkPark/runner)
[![RunKit](https://img.shields.io/badge/RunKit-try-yellow.svg?style=flat-square)](https://npm.runkit.com/@runner/tools)


## Installation ##

```bash
npm install @runner/tools
```


## Usage ##

Add to the scope:

```js
var tools = require('@runner/tools');
```

Remove some generated files:

```js
tools.unlink(
    ['build/develop/main.css', 'build/develop/main.js'],
    log,
    function ( error ) {
        console.log(error);    
    }
);
```

Write generated files content:

```js
tools.write(
    [{name: 'build/develop/main.js', data: someContent}],
    log,
    function ( error ) {
        console.log(error);    
    }
);
```

Create new directories and any necessary subdirectories:

```js
tools.mkdir(
    ['build/develop', 'build/release'],
    log,
    function ( error ) {
        console.log(error);    
    }
);
```

Copy a directory content to another place:

```js
tools.copy({
    source: 'src/img',
    target: 'build/develop/img'
}, log, function ( error ) {
    console.log(error);
});
``` 

## Contribution ##

If you have any problems or suggestions please open an [issue](https://github.com/runner/tools/issues)
according to the contribution [rules](.github/contributing.md).


## License ##

`@runner/tools` is released under the [GPL-3.0 License](http://opensource.org/licenses/GPL-3.0).

---
_Source: https://npm.io/package/@runner/tools · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
