1.0.5 • Published 11 months ago

@kevisual/auth v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

router query auth

for kevisual/router

配置项

{
  tokenSercet: 'xx'
}

use

import { App } from '@kevisual/router';
import { createAuthRoute } from '@kevisual/auth';

const app = new App();
createAuthRoute({
  app: app,
  addToApp: true
});
app.listen(3000);
// curl http://localhost:3000/api/router?path=auth
1.0.5

11 months ago

1.0.5-alpha.1

11 months ago

1.0.4

11 months ago