# jsonwebtoken-esm

> 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.

Latest version **2.0.1** (published 2023-02-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install jsonwebtoken-esm
pnpm add jsonwebtoken-esm
yarn add jsonwebtoken-esm
bun add jsonwebtoken-esm
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2023-02-02 |
| First published | 2022-04-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=14.18 |
| Dependencies | 0 |
| Unpacked size | 3.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 25 |
| Author | Sanity.io |
| Maintainers | stipsan |
| Keywords | jwt, jsonwebtoken |

## Links

- npm: https://www.npmjs.com/package/jsonwebtoken-esm
- Repository: https://github.com/sanity-io/jsonwebtoken-esm
- Homepage: https://github.com/sanity-io/jsonwebtoken-esm#readme
- Issues: https://github.com/sanity-io/jsonwebtoken-esm/issues
- npm.io page: https://npm.io/package/jsonwebtoken-esm

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 2.0.1 (latest) — 2023-02-02
- 2.0.0 — 2023-01-26
- 1.0.5 — 2023-01-26
- 1.0.3 — 2022-05-04
- 1.0.2 — 2022-04-27
- 1.0.1 — 2022-04-27
- 1.0.0 — 2022-04-27

## README

# jsonwebtoken-esm

A wrapper that rebundles [`jsonwebtoken`](https://www.npmjs.com/package/jsonwebtoken) into ESM, so you can use it in your `vite`, `esm.sh`, or wherever you need ESM.

## Install

```bash
$ npm install jsonwebtoken-esm
```

## Usage

Same as [before](https://github.com/auth0/node-jsonwebtoken/blob/master/README.md#usage), but now with ESM imports.
To see which version of `jsonwebtoken` is used in the bundle:

```js
import { version } from 'jsonwebtoken-esm'

console.log(version) // "8.5.1"
```

---
_Source: https://npm.io/package/jsonwebtoken-esm · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
