@hyper63/typesm

1.0.2 • Public • Published

typesm - functional javascripts types for ESM

A Type library with core ADTs.

  • Id
  • Either
  • Task
  • Fn

Why

A clear and basic fp library that works with esm and with no dependencies.

Install

yarn add @hyper63/types

Usage Example

import Id from '@hyper63/typesm'

Id.of(1)
  .map(x => x + 1)
  .extract()

ADTS

  • Id
  • Either
  • Task

/@hyper63/typesm/

    Package Sidebar

    Install

    npm i @hyper63/typesm

    Weekly Downloads

    5

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    3.73 kB

    Total Files

    9

    Last publish

    Collaborators

    • hyper63