1.1.0 • Published 4 years ago
lzh-auth v1.1.0
lzh-auth
Installation
$ npm install lzh-auth
Usage
const express = require('express');
const Auth = require('lzh-auth');
const app = express();
const auth = Auth({baseUrl: ''});
app.use('/', auth);
app.get('/', (req, res, next) => {
res.send('Hello World!');
});