juno-node-sdk-v2
TypeScript icon, indicating that this package has built-in type declarations

2.9.9 • Public • Published

Juno Node SDK

Initialization

The initialization can be performed either by ENVIRONMENT variables or by JunoSDK constructor.

Environment variables

You must set following environment variables:

# V2 API only
export JUNO_CLIENT_ID=YOUR_CLIENT_ID
export JUNO_SECRET=YOUR_SECRET
export JUNO_TOKEN=YOUR_TOKEN
export JUNO_ENV=sandbox|production

JunoSDK constructor

export { JunoSDK, JunoEnvironments } from 'juno-node-sdk-v2';

const juno = new JunoSDK({
  token: 'YOUR_TOKEN',
  clientId: 'YOUR_CLIENT_ID',
  secret: 'YOUR_SECRET'
  environment: JunoEnvironments.Sandbox
});

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i juno-node-sdk-v2

    Weekly Downloads

    1

    Version

    2.9.9

    License

    MIT

    Unpacked Size

    256 kB

    Total Files

    302

    Last publish

    Collaborators

    • zeowna