Skip to content

jsonwebtoken wrapper that provides esm support

License

Notifications You must be signed in to change notification settings

sanity-io/jsonwebtoken-esm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

43897a4 · Jan 26, 2023

History

25 Commits
Jan 26, 2023
Apr 27, 2022
Apr 27, 2022
Apr 27, 2022
Apr 27, 2022
Jan 26, 2023
Jan 26, 2023
Jan 26, 2023
Jan 26, 2023
May 4, 2022
Jan 26, 2023
Jan 26, 2023
Jan 26, 2023

Repository files navigation

jsonwebtoken-esm

A wrapper that rebundles jsonwebtoken into ESM, so you can use it in your vite, esm.sh, or wherever you need ESM.

Install

$ npm install jsonwebtoken-esm

Usage

Same as before, but now with ESM imports. To see which version of jsonwebtoken is used in the bundle:

import { version } from 'jsonwebtoken-esm'

console.log(version) // "8.5.1"