openid-provider-metadata
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

OpenID Provider Metadata Schema and Types

JSON Schema (both as a JavaScript Object and as JSON) and TypeScript interfaces for representing OpenID Provider Metadata, as described here.

Recreate

I am not going to implement scripts or automation for this, because it will probably not going to change very often.

  1. Compile index.ts to index.js: tsc ./source/index.ts.
  2. Convert index.js to index.json: node -e 'console.log(JSON.stringify(require(\"./source/index.js\").default));' > .\source\index.json.
  3. Convert index.json to index.d.ts: node ./tools/compileInterfaces.js.

Package Sidebar

Install

npm i openid-provider-metadata

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

64.1 kB

Total Files

7

Last publish

Collaborators

  • jonathanwilbur