Socket
Book a DemoInstallSign in
Socket

iana-registry-data-lib

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iana-registry-data-lib

A package containing JSON files reflecting the current state of various IANA registries such as the JOSE, OAuth and JWT registries. This package is intended to be used as a data source for other projects.

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

iana-registry-data-lib

JSON datasets for IANA registries (OAuth, JOSE, JWT), plus TypeScript entrypoints.

Version 2 introduces a stable, deterministic schema and a new entrypoint.

Installation

npm install iana-registry-data-lib

Usage (v2)

import * as OAuth from 'iana-registry-data-lib';
import type { V2RegistryDataset } from 'iana-registry-data-lib/dist/types.v2';

const oauthParameters: V2RegistryDataset = OAuth.oauth_parameters;
console.log(oauthParameters.entries.length);

Each dataset under dist/registries/<registry>/<dataset>.json conforms to:

{
  "schema_version": 2,
  "registry_id": "oauth_registry",
  "dataset_id": "oauth_parameters",
  "name": "OAuth Parameters",
  "metadata": { "datasource_url": "…", "required_specifications": [], "last_updated_iso": "…" },
  "entries": [ { "entry_id": "…", "parameter": "…" } ]
}

See MIGRATION.md for v1 → v2 changes.

License

MIT

Author

Andy Barlow

Keywords

iana

FAQs

Package last updated on 07 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts