# hokaccha/node-jwt-simple

JWT(JSON Web Token) encode and decode module for node.js

Repository: https://github.com/hokaccha/node-jwt-simple
Canonical: https://ross.abutalabs.com/products/node-jwt-simple
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2022-07-15T10:19:26+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5335, "days_push": 1510, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1357, forks 139 (observed 2026-08-28T04:04:29.436335+00:00)

## What it is
A small Node.js library for encoding and decoding JWT (JSON Web Token) strings with a simple encode/decode API. It supports HS256, HS384, HS512, and RS256 algorithms with signature verification on decode.

## Use cases
- encode a payload as a jwt in node.js
- decode and verify a  web token
- issue simple auth tokens for an api
- sign tokens with hs256 or rs256
- read jwt payload without a heavy dependency

## When to choose
- you need a minimal, dependency-light jwt encode/decode utility in Node.js
- you only need basic HMAC or RS256 signing and verification
- you want a simple api without claims validation features

## When to avoid
- you need advanced jwt features like claims validation, expiration checks, or key rotation
- you need asymmetric algorithms beyond RS256 such as ES256 or PS256
- you are working outside Node.js

## Facets
- artifact type: library
- maturity: maintenance
- function: auth, serialization, security
- domain: security, web-development, backend, apis
- platform: -
- tags: jwt, -web-token, token-encoding, token-decoding, hs256, rs256, nodejs

## Member repositories
- hokaccha/node-jwt-simple (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:29.436335+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:50.440329+00:00, confidence not recorded.
  - readme: https://github.com/hokaccha/node-jwt-simple (fetched 2026-08-28T04:04:29.436335+00:00, sha 07c27bc33c63)
- Data as of 2026-08-30T08:39:29.467469+00:00.
