dbc

Design by contract and type checking assertions

dbc

Basic design by contract support for node.js.

See the tests for examples. Expect things like:

dbc.assert(items.length > 16, "there are not enough items");

To run the tests:

npm test