node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »


Fantasy Helpers


Helpers are functions that help build programs with Fantasy World.



Fantasy Helpers 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 Helpers.


Currently Fantasy Helpers 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

It should report that the total coverage is at 96% for the whole lib, because of the polyfils within the functions.