@ainc/chain
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@ainc/chain

Let's do something nice with @ainc/chain!

Install

$ yarn add @ainc/chain

Usage

import { Chain } from '@ainc/chain';

const chain = new Chain<number>();

chain.add((value, next) => next(value + 1));
chain.invoke(0, value => value);

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i @ainc/chain

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    17.5 kB

    Total Files

    16

    Last publish

    Collaborators

    • absock
    • edonet