1.0.0 • Published 10 years ago

blitzkrieg v1.0.0

Weekly downloads
13
License
MIT
Repository
github
Last release
10 years ago

Blitzkrieg

Middleware to provide an authorized domain for blitz.io in Node.js.

var blitz = require('blitzkrieg');
var express = require('express');

var app = express();

app.use(blitz('ab-c12abcd1-a1a12345-1a12ab12-12a12a12'));

Use

blitz(BLITZ_AUTH_KEY);

Blitzkrieg will send '42' from the key's route.

For more information check the Blitz.io docs.

Test

npm test