# all

> callback when all callbacks have fired.

Latest version **0.0.0** (published 2012-11-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install all
pnpm add all
yarn add all
bun add all
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2012-11-28 |
| First published | 2012-11-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | 'Dominic Tarr' |
| Maintainers | dominictarr |

## Links

- npm: https://www.npmjs.com/package/all
- Repository: https://github.com/dominictarr/all
- npm.io page: https://npm.io/package/all

## Recent versions

- 0.0.0 (latest) — 2012-11-28

## README

# all

callback when all callbacks have fired.

<img src=https://secure.travis-ci.org/dominictarr/all.png?branch=master>

``` js
var all = require('all')
var after = all(function () {
  console.log('done')
})

function doSomething(n, cb) {
  setTimeout(function () {
    console.log('N', n)
  }, Math.random() * 100)
}

doSomething(1, cb())
doSomething(2, cb())
doSomething(3, cb())
doSomething(4, cb())

```


## License

MIT

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