hevd

0.1.1 • Public • Published

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!

Readme

Keywords

none

Package Sidebar

Install

npm i hevd

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

3.21 kB

Total Files

4

Last publish

Collaborators

  • eldoy