JSPM

  • Created
  • Published
  • Downloads 1324
  • Score
    100M100P100Q135365F
  • License MIT

Fishbird is a simple, lightweight, and fast Promise utility library

Package Exports

  • fishbird
  • fishbird/delay
  • fishbird/filter
  • fishbird/index
  • fishbird/map
  • fishbird/mapSeries
  • fishbird/props
  • fishbird/types

Readme

Fishbird

NPM version Tests Install size Bundle size License Ask me in Telegram

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.
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.