SRI Hash Generator
This is the code behind the https://www.srihash.org/ website. It generates subresource integrity hashes.
Install
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 installTo start the server, run:
npm startIt will listen on http://127.0.0.1:4000 by default.
Testing
Run tests with:
npm test