Want better documentation for Sinon? Please donate to our campaign for better documentation.


In addition to our download page, you can also use a NPM based CDN for your convenience.

Using NPM based CDNs

There are now several CDNs that are backed by NPM, which means that you can have auto-updated scripts. Examples of such free providers are jsDelivr, UNPKG and cdnjs.

Their adressing schemes vary, but an example url such as https://cdn.jsdelivr.net/npm/sinon@3/pkg/sinon.js would download the latest browser bundle of Sinon 3.