1.0.1 • Published 3 years ago

openid-provider-metadata v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

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.