@kevisual/auth
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @kevisual/auth

Weekly Downloads

5

Version

1.0.5

License

ISC

Unpacked Size

433 kB

Total Files

18

Last publish

Collaborators

  • kevisual