SRI Hash Generator
JavaScript HTML CSS
Latest commit 2271602 Jan 11, 2017 @mozfreddyb mozfreddyb committed on GitHub Merge pull request #160 from fmarier/upgrade-google-fonts
Add fonts.googleapis.com to the list of HTTPS hosts
Permalink
Failed to load latest commit information.
lib
public Change <input> styling from [type=text] to [type=url] to match #156. Dec 21, 2016
templates Change url input to type="url" Dec 17, 2016
test Decode resources with gzip encoding correctly Aug 4, 2016
.csslintrc
.gitignore Ignore npm-debug.log Feb 2, 2015
.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 chore: drop support for Node.js 0.10 Oct 31, 2016

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