Does the current JS environment have strict mode? ES5+ should; but let's not assume.
var hasStrictMode = require('has-strict-mode');
var assert = require('assert');
assert.equal(hasStrictMode(), true); // will be `false` in IE 6-8
Simply clone the repo, npm install
, and run npm test