This is the code behind the http://srihash.org website. It generates sub-resource integrity hashes.
You'll need node 0.10.x or higher and npm to run the server.
Clone the git repository and install dependencies:
git clone git://github.com/mozilla/srihash.org.git
cd srihash.org
npm install
To start the server, run:
npm start
It will listen on http://127.0.0.1:3000 by default.
Run tests with:
npm test

