pocketcdp
v0.0.5
Published
pocketCDP backend library
Downloads
4
Readme
Library for server actions to interact with your PocketCDP account
Getting started
npm install pocketcdp
Usage
TODO: get rid of .default
const API = require("./dist/index");
try {
const pocketCDP = new API.default({
apiKey: "API_KEY",
verbose: true,
apiURL: "http://localhost:5002",
});
pocketCDP.track({ data: "value" });
} catch (e) {
console.log(e);
}