1
0

Rearranged readme

This commit is contained in:
2021-05-23 18:17:12 +02:00
parent 9841dfdc48
commit b823c1a866

View File

@@ -4,8 +4,14 @@ A lightweight JWT implementation with ZERO dependencies for Cloudflare Workers.
## Contents ## Contents
- [Usage](#usage)
- [Install](#install) - [Install](#install)
- [Usage](#usage)
## Install
```
npm i @tsndr/cloudflare-worker-jwt
```
## Usage ## Usage
@@ -68,13 +74,4 @@ Argument | Type | Satus | Default | Description
`token` | `string` | required | - | The token string generated by `jwt.sign()`. `token` | `string` | required | - | The token string generated by `jwt.sign()`.
#### `return` #### `return`
returns payload `object` returns payload `object`
<hr>
## Install
```
npm i @tsndr/cloudflare-worker-jwt
```