0.1.1 • Published 1 year ago
hevd v0.1.1
Hevd
Hevd beatiful assert errors.
Use it instead of assert for writing tests or wherever you need to actually read the assert error messages.
Install
npm i hevd
Usage
Use it exactly like assert:
const { ok, equal } = require('hevd')
// When fail, see beautiful error message in console instead of stack trace
ok(1 == 2)
MIT Licensed. Enjoy!