Assert.js is a port of the Node.js standard assertion library for the browser. The original code and tests are from Node.js, and have been modified to be browser compatible.
For example, you can use it with Mocha to perform tests on both the server and client-side. Mocha does not supply it's own assertion library.