Skip to content

Commit 1b6ac02

Browse files
committed
update readme
1 parent 95e45e6 commit 1b6ac02

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ npm i @tsndr/cloudflare-worker-jwt
2424
### Basic Example
2525

2626
```typescript
27+
import jwt from "@tsndr/cloudflare-worker-jwt"
28+
2729
async () => {
28-
import jwt from "@tsndr/cloudflare-worker-jwt"
2930

3031
// Create a token
3132
const token = await jwt.sign({
@@ -52,8 +53,9 @@ async () => {
5253
### Restrict Timeframe
5354

5455
```typescript
56+
import jwt from "@tsndr/cloudflare-worker-jwt"
57+
5558
async () => {
56-
import jwt from "@tsndr/cloudflare-worker-jwt"
5759

5860
// Create a token
5961
const token = await jwt.sign({

0 commit comments

Comments
 (0)