@fishbird/core
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Fishbird

NPM version Have TypeScript types Tests NPM Package size License Ask me in Telegram

Fishbird placeholder image by shutterstock

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();
});

Installation

npm i fishbird
yarn i fishbird
pnpm i fishbird

Usage

Inspired by

Reading for developers

Package Sidebar

Install

npm i @fishbird/core

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

19.9 kB

Total Files

13

Last publish

Collaborators

  • isuvorov