node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »

should-as-global

should-as-global

It just requires should and assigns it to a global var assert. So we can pass --require should-as-global to mocha and have assert.exist() and friends automatically available. Note, that you still should specify should as a dev dependency.

Installation

Via npm

npm install should-as-global

License

MIT