Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    fantasy-eitherspublic

    Fantasy Eithers

    General

    The option type encodes the presence and absence of a value. The Some constructor represents a value and None represents the absence.

    Testing

    Library

    Fantasy Eithers uses nodeunit for all the tests and because of this there is currently an existing adapter in the library to help with integration between nodeunit and Fantasy Check.

    Coverage

    Currently Fantasy Check is using Istanbul for code coverage analysis; you can run the coverage via the following command:

    This assumes that you have istanbul installed correctly.

    istanbul cover nodeunit -- test/*.js

    install

    npm i fantasy-eithers

    Downloadslast 7 days

    256

    version

    0.0.2

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar
    • avatar
    • avatar