npm install fantasy-eithers
The option type encodes the presence and absence of a value. TheSome constructor represents a value and None represents the
absence.
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.
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