jsonwebtoken-esm-fix
v9.0.0
Published
A wrapper that rebundles [`jsonwebtoken`](https://www.npmjs.com/package/jsonwebtoken) into ESM, so you can use it in your `vite`, `skypack`, or wherever you need ESM.
Downloads
133
Readme
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"