From 819361737fd3fe58c4dda98ce7228b8d1c11f023 Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 31 Oct 2023 18:39:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Readme.md b/Readme.md index 84e4be5..bc03b1b 100644 --- a/Readme.md +++ b/Readme.md @@ -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() ``` \ No newline at end of file