0.1.2 • Published 8 years ago
noh v0.1.2
#noh
༼ つ ◕‿◕ ༽つ
noh provides simple assert functionality with emojis. Because sometimes, failed tests deserve frowns and passes get smiles. noh also includes basic logging messages and an execution timer.
Installation
From terminal: ####npm install noh
Usage
wearNoh is a decorator function that wraps any function you give it with asserts, logging, and a noh emoji.
This snippet demonstrates an example of usage.
On each call of example(), it's return value will be checked against assertValue, with subsequent logging.