1.0.0 • Published 6 years ago

rawb-google-verification v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

How to use

Catch the google verification request:

const Koa = require('koa');

const app = new Koa();

const googleVerification = require('rawb-google-verification');

app.use(googleVerification({ code: GOOGLE_VERIFICATION_CODE }));


app.listen(8080, function(err) {
    if (err) {
        console.log('ERROR', err);
        return;
    }
    console.log('Server started');
});
1.0.0

6 years ago