Skip to content

Instantly share code, notes, and snippets.

@Zeemzo
Last active November 22, 2022 12:00
Show Gist options
  • Save Zeemzo/b667926e30ea7894a64ac2f8cb2458ef to your computer and use it in GitHub Desktop.
Save Zeemzo/b667926e30ea7894a64ac2f8cb2458ef to your computer and use it in GitHub Desktop.
Niftron-SDK Configuration
import { NiftronConfig, NIFTRON } from "niftron-sdk";
// create niftron config object
const niftronConfig: NiftronConfig = {
projectKey: " - - - - - Project Key - - - - - -",
secretKey: " - - - - - Secret Key - - - - - -",
};
// initialize niftron-sdk
const niftron: NIFTRON = new NIFTRON(niftronConfig);
niftron.initialize();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment