@kandy-io/link-config-us

2.0.0 • Public • Published

@kandy-io/link-config-us

This package contains standard configuration for the Kandy Link JS SDK to connect to the Kandy platform in the US region.

Installation

via npm:

$ npm install @kandy-io/link-config-us

via yarn:

$ yarn add @kandy-io/link-config-us

Usage

You can use the package simply by importing it and providing the configuration to the Kandy Link JS SDK.

import { config } from '@kandy-io/link-config-us'
import { create } from '@kandy-io/link-sdk'

const client = create(config)

// Use the SDK.

The configuration object can also be used as a base for your own custom configuration.

import { config as defaultConfig } from '@kandy-io/link-config-us'
import { create } from '@kandy-io/link-sdk'

const config = {
  ...defaultConfig,
  logs: {
    logLevel: 'debug'
  }
}

const client = create(config)

// Use the SDK.

See Also

/@kandy-io/link-config-us/

    Package Sidebar

    Install

    npm i @kandy-io/link-config-us

    Weekly Downloads

    3

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    5.03 kB

    Total Files

    6

    Last publish

    Collaborators

    • kandy.io
    • reddystar