dbc (node.js npm module)

Written by Liam McLennan

dbc

dbc is my third npm module. I am experimenting with the node.js (unix?) philosophy of small, composable modules. dbc provides some basic tools for design-by-contract, something that I believe is essential when working in a loosely typed language like JavaScript.

To install:

    npm install dbc

to run the tests:

    npm tests/ -R spec

which will produce this delightful output:

dbc test output