Rearranged readme
This commit is contained in:
19
README.md
19
README.md
@@ -4,8 +4,14 @@ A lightweight JWT implementation with ZERO dependencies for Cloudflare Workers.
|
||||
|
||||
## Contents
|
||||
|
||||
- [Usage](#usage)
|
||||
- [Install](#install)
|
||||
- [Usage](#usage)
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
npm i @tsndr/cloudflare-worker-jwt
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -68,13 +74,4 @@ Argument | Type | Satus | Default | Description
|
||||
`token` | `string` | required | - | The token string generated by `jwt.sign()`.
|
||||
|
||||
#### `return`
|
||||
returns payload `object`
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
npm i @tsndr/cloudflare-worker-jwt
|
||||
```
|
||||
returns payload `object`
|
||||
Reference in New Issue
Block a user