resulty
    TypeScript icon, indicating that this package has built-in type declarations

    4.0.0 • Public • Published

    resulty

    Build Status semantic-release

    A disjunction implementation in TypeScript.

    install

    npm install --save resulty

    yarn add resulty

    usage

    import { ok, err } from 'resulty';
    
    function parse(s) {
      try {
        return ok(JSON.parse(s));
      }
      catch(e) {
        return err(e.message);
      }
    }
    

    docs

    API

    Keywords

    none

    Install

    npm i resulty

    DownloadsWeekly Downloads

    270

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    2.2 MB

    Total Files

    41

    Last publish

    Collaborators

    • kofno