node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…


Chai.js extensions to help with function precondition testing.


chai-signature is a Chai.js assertion library extension to make function precondition testing much easier.

If you find yourself doing a lot of these these kind of tests:

var self = this;

expect(function() {

With chai-signature it's much shorter and more straightforward:


Or the more generally-used shorter version with functions already bound:


All functions expect the expect object to be a function.

Binds the source function to obj.

Converts the subject (which is a function) into a function call of the subject with the arguments pre-applied.