UNPKG

this-is-zero

Version:
25 lines (16 loc) 590 B
# this-is-zero This is Zerrooooo! ![alt text](https://raw.githubusercontent.com/gorgos/this-is-zero/master/thisiszero.jpg) ## Description How you ever needed a quick and easy tool to find out if a number is 0 during debugging? Wait no more, this tool enables playing a sound to you so you will never again miss if a number is zero. ## Install ``` npm install this-is-zero ``` ## Usage ``` const thisIsZero = require('this-is-zero') const zero = 42 - 23 - 19 const notZero = 42 - 23 thisIsZero(zero) // plays sound :) thisIsZero(notZero) // plays no sound :(