@datarangers/sdk-node
TypeScript icon, indicating that this package has built-in type declarations

3.0.8 • Public • Published

DataRangers SDK for node.js

Usage

import { DataRangersSDK } from '@datarangers/sdk-node';
import { httpPlugin } from '@datarangers/node-plugin-http';

const sdk = new DataRangersSDK({
  app_id: 3124,
  logLevel: "verbose",
});
sdk.use(
  httpPlugin({
    channel_domain: "https://mcs.ctobsnssdk.com",
  })
);

// collect method provides two type overloading,
// please check our type definition for more information.
sdk.collect("event", { arg1: 'value1', });

Readme

Keywords

none

Package Sidebar

Install

npm i @datarangers/sdk-node

Weekly Downloads

1

Version

3.0.8

License

ISC

Unpacked Size

31.7 kB

Total Files

21

Last publish

Collaborators

  • niyan_ly
  • gaoxiaoliangz
  • silence.ys