# @typed/sequence

> Run things in sequence

Latest version **1.1.0** (published 2016-12-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @typed/sequence
pnpm add @typed/sequence
yarn add @typed/sequence
bun add @typed/sequence
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2016-12-23 |
| First published | 2016-12-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Tylor Steinberger |
| Maintainers | typed |
| Keywords | typescript, promise, observable, stream |

## Links

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

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2016-12-23
- 1.0.0 — 2016-12-23

## README

# @typed/sequence

> Create sequential code easily

Helps you create a sequence of execution.

## Let me have it!
```sh
npm install --save typed-sequence
```

## API

#### `sequence<T>(items: T[], f: (t: T) => any): Promise<any>`

**Example**

```typescript
import { sequence } from 'typed-sequence';

function f (n: number): Promise<any> {
  // perform some type of asynchronous (or not) operation

  return new Promise((resolve, reject) {
    // exercise for the reader ;)
  })
}

sequence([1, 2, 3], f);
```

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