fishbird
Version:
Fishbird is a simple, lightweight, and fast Promise utility library
33 lines (25 loc) • 1.56 kB
Markdown
# Fishbird
[](https://www.npmjs.com/package/fishbird)
[](https://github.com/isuvorov/fishbird/actions/workflows/npm-publish.yml)
[](https://packagephobia.now.sh/result?p=fishbird)
[](https://bundlephobia.com/result?p=fishbird)
[](https://github.com/isuvorov/fishbird/blob/master/LICENSE)
[](https://t.me/isuvorov)
<!-- [](https://bundlephobia.com/result?p=fishbird) -->
<img src="https://isuvorov.github.io/fishbird/logo.png" align="right" width="120" height="120">
Fishbird is a simple, lightweight, and fast *Promise* utility library.
- **Small**. Less 1Kb (minified and gzipped). No dependencies.
- **Fast**. Its 2 times faster than Bluebird by benchmarkes.
- **ES modules** and **tree-shaking** support.
- **TypeScript** friendly.
- **Portable** Supports modern browsers, IE with Babel, Node.js and React Native.
- **Compatible** with Bluebird API.
```ts
import { map } from 'fishbird';
const res = map([1 ,2, 3], async (id) => {
const res = await fetch(id);
return res.json();
});
```
## Docs
Read full docs **[here](https://github.com/isuvorov/fishbird)**.