This is the code behind the https://www.srihash.org/ website. It generates subresource 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:4000
by default.
Run tests with:
npm test