blitzkrieg
v1.0.0
Published
Middleware to provide an authorized domain for blitz.io
Downloads
26
Maintainers
Readme
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