SRI Hash Generator
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

SRI Hash Generator

This is the code behind the https://www.srihash.org/ website. It generates subresource integrity hashes.

Build Status Coverage Status dependencies Status devDependencies Status

Install

You'll need node.js 8.x 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.

Or run:

npm run watch

to run the server and watch for changes.

Testing

Run tests with:

npm test