Getting Started

  • Node 20.0 or above
  • (Optional, if using TypeScript) TypeScript 5.0 or above

Using npm:

$ npm i @digime/digime-sdk-nodejs

To user the SDK, you need to obtain an AppID for your application. You can get yours by filling out the registration form here. However, for demo purposes, we provide example values. You can find these example keys in our example application.

Once you have the above information, you can initiate the SDK.

import { init } from "@digime/digime-sdk-nodejs";

const digimeSDK = init({ applicationId: <my-unique-application-id> });

To see all the other options for initializing the SDK, please take a look here.