1.0.5 • Published 12 months ago

@kevisual/auth v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
12 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

12 months ago

1.0.5-alpha.1

1 year ago

1.0.4

1 year ago