SRI Hash Generator
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
lib Add fonts.googleapis.com to the list of HTTPS hosts Jan 11, 2017
public Change <input> styling from [type=text] to [type=url] to match #156. Dec 21, 2016
templates Add a strong Referrer Policy to all pages Jul 19, 2017
test Decode resources with gzip encoding correctly Aug 4, 2016
.csslintrc Add grunt-contrib-csslint. Jul 21, 2016
.gitignore
.jscs.json Add JSCS style checker Feb 23, 2015
.jshint.json Update JSHint's options. Apr 12, 2016
.travis.yml Update .travis.yml Apr 11, 2016
CONTRIBUTING.md Move to the mozilla/ namespace Jan 20, 2015
Gruntfile.js Add grunt-contrib-csslint. Jul 21, 2016
LICENSE Initial commit Jan 20, 2015
README.md Update README.md Aug 5, 2016
index.js Move `require`s along with the rest. Jun 2, 2016
package.json Bump minimum node version to 6 Aug 15, 2017

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 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.

Testing

Run tests with:

npm test