更新readme

master
yutent 2023-10-31 18:39:38 +08:00
parent e2433cba13
commit 819361737f
1 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,6 @@
![module info](https://nodei.co/npm/@gm5/jwt.png?downloads=true&downloadRank=true&stars=true)
![downloads](https://img.shields.io/npm/dt/@gm5/jwt.svg)
![version](https://img.shields.io/npm/v/@gm5/jwt.svg)
# @gm5/jwt
@ -14,10 +16,13 @@ npm install @gm5/jwt
```js
import Five from '@gm5/code'
import jwt from '@gm5/jwt'
import { createApp } from '@gm5/code'
import { createJwt, JwtModule } from '@gm5/jwt'
var app = new Five()
app.install(jwt)
var app = createApp()
app.install(JwtModule)
.use(createJwt())
.run()
```