A JS/TS SDK for Singpass Auth
npm install singpass-client!alt
singpass-client!NPM Version 
singpass-client is a lightweight client that helps your JS/TS backend to perform the Singpass Authentication flow.
1. Install the package
``zsh`
npm install @ndisg/singpass-client
2. Initialize your SingpassClient
`TS
// In your backend
import { SingpassClient } from "@ndisg/singpass-client";
const singpassClient = SingpassClient.fromConfig({
clientId: "
clientSecret: "
redirectUri: "
});
`
3. You can now build a client assertion url with ease!
`TS``
// In your backend
// URL object to be called to perform client assertion flow.
const clientAssertionUrl = await client.buildClientAssertionURL("test-code");