This example Node.js application starts an external process and parses its output to resolve two promises.
This is implemented by the startApp
function, which is used as:
const { verificationUrlPromise, claimsPromise } = startApp();
console.log("verification url:", await verificationUrlPromise);
console.log("claims:", await claimsPromise);
Install Node.js.
Install the dependencies:
npm ci
Run the example:
npm run example