This package is official nodejs sdk for dclist.net.
It's open-source and always open to prs and contributions.
You can install package via npm or yarn with following commands :
npm install @dclist/sdk
or
yarn add @dclist/sdk
We support typescript natively. You don't need to install any other packages.
For typescript :
import { GatewayClient } from '@dclist/sdk'
const gClient = new GatewayClient({
token: 'YOUR_TOKEN_HERE'
})
For Javascript :
const { GatewayClient } = require('@dclist/sdk')
const gClient = new GatewayClient({
token: 'YOUR_TOKEN_HERE'
})
You can find out more about sdk at dclist's documantation.