# ape-tasking

> ape framework module for tasks

Latest version **4.0.12** (published 2019-02-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install ape-tasking
pnpm add ape-tasking
yarn add ape-tasking
bun add ape-tasking
```

## 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 | 4.0.12 |
| Published | 2019-02-24 |
| First published | 2015-08-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 4 |
| Unpacked size | 26.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Taka Okunishi |
| Maintainers | okunishinishi |
| Keywords | ape, tasking |

## Links

- npm: https://www.npmjs.com/package/ape-tasking
- Repository: https://github.com/ape-repo/ape-tasking
- Homepage: https://github.com/ape-repo/ape-tasking#readme
- Issues: https://github.com/ape-repo/ape-tasking/issues
- npm.io page: https://npm.io/package/ape-tasking

## Dependencies (4)

- [argx](https://npm.io/package/argx.md) ^4.0.0
- [execcli](https://npm.io/package/execcli.md) ^5.0.6
- [colorprint](https://npm.io/package/colorprint.md) ^5.0.0
- [stringcase](https://npm.io/package/stringcase.md) ^4.3.0

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 4.0.12 (latest) — 2019-02-24
- 4.0.11 — 2019-02-24
- 4.0.10 — 2019-02-24
- 4.0.9 — 2016-09-11
- 4.0.8 — 2016-07-30
- 4.0.7 — 2016-07-18
- 4.0.6 — 2016-07-18
- 4.0.5 — 2016-07-18
- 4.0.4 — 2016-07-18
- 4.0.3 — 2016-06-30
- 4.0.2 — 2016-06-26
- 4.0.1 — 2016-06-11
- 4.0.0 — 2016-05-21
- 3.1.3 — 2016-05-21
- 3.1.2 — 2016-04-28
- … 14 more at https://npm.io/package/ape-tasking/versions

## README

ape-tasking
==========

<!---
This file is generated by ape-tmpl. Do not update manually.
--->

<!-- Badge Start -->
<a name="badges"></a>

[![Build Status][bd_travis_shield_url]][bd_travis_url]
[![npm Version][bd_npm_shield_url]][bd_npm_url]
[![JS Standard][bd_standard_shield_url]][bd_standard_url]

[bd_repo_url]: https://github.com/ape-repo/ape-tasking
[bd_travis_url]: http://travis-ci.org/ape-repo/ape-tasking
[bd_travis_shield_url]: http://img.shields.io/travis/ape-repo/ape-tasking.svg?style=flat
[bd_travis_com_url]: http://travis-ci.com/ape-repo/ape-tasking
[bd_travis_com_shield_url]: https://api.travis-ci.com/ape-repo/ape-tasking.svg?token=
[bd_license_url]: https://github.com/ape-repo/ape-tasking/blob/master/LICENSE
[bd_codeclimate_url]: http://codeclimate.com/github/ape-repo/ape-tasking
[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/ape-repo/ape-tasking.svg?style=flat
[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/ape-repo/ape-tasking.svg?style=flat
[bd_gemnasium_url]: https://gemnasium.com/ape-repo/ape-tasking
[bd_gemnasium_shield_url]: https://gemnasium.com/ape-repo/ape-tasking.svg
[bd_npm_url]: http://www.npmjs.org/package/ape-tasking
[bd_npm_shield_url]: http://img.shields.io/npm/v/ape-tasking.svg?style=flat
[bd_standard_url]: http://standardjs.com/
[bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg

<!-- Badge End -->


<!-- Description Start -->
<a name="description"></a>

ape framework module for tasks

<!-- Description End -->




<!-- Sections Start -->
<a name="sections"></a>

<!-- Section from "doc/guides/02.Usage.md.hbs" Start -->

<a name="section-doc-guides-02-usage-md"></a>

Usage
----

### Run Tasks

`.runTasks(taskName, tasks, exitWhenDone)`

```javascript
#!/usr/bin/env node

'use strict'

const apeTasking = require('ape-tasking')

// Run tasks
apeTasking.runTasks('myCustomTask', [
  // Run callback base task
  (callback) => {
    /* ... */
    callback(null) // Pass error if failed.
  },
  // Run promise base task
  () => new Promise((resolve, reject) => {
    /* ... */
    resolve()
  })
], true)

```

<!-- Section from "doc/guides/02.Usage.md.hbs" End -->


<!-- Sections Start -->


<!-- LICENSE Start -->
<a name="license"></a>

License
-------
This software is released under the [MIT License](https://github.com/ape-repo/ape-tasking/blob/master/LICENSE).

<!-- LICENSE End -->


<!-- Links Start -->
<a name="links"></a>

Links
------

+ [ape-repo][ape_repo_url]

[ape_repo_url]: https://github.com/ape-repo

<!-- Links End -->

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