open-index/open-npm huggingface dataset:
npm package: @piano-sdk/tv
Description: - how to use
Latest version: 1.2.7

- how to use

```
import { pnTV } from "@piano-sdk/tv";

const AID = "<AID>";
const ENDPOINT = "<ENDPOINT";
const CX_SITE_ID = "<CX_SITE_ID>";

pnTV.execute(
    {
        tags: ["tag1", "tag2"],
        aid: AID,
        endpoint: ENDPOINT,
        cxenseSiteId: CX_SITE_ID,
    },
    {
        onRunJs: (...args: any) => {
            console.log("------->onRunJs", args);
        },
        onContinueExecution: (...args: any) => {
            console.log("------->onContinueExecution", args);
        },
        onContinueExecutionCompleted: (...args: any) => {
            console.log("------->onContinueExecutionCompleted", args);
        },
        onMeterActive: (...args: any) => {
            console.log("------->onMeterActive", args);
        },
        onUserSegmentTrue: (...args: any) => {
            console.log("------->onUserSegmentTrue", args);
        },
        onExperienceExecute: (...args: any) => {
            console.log("------->onExperienceExecute", args);
        },
        onMeterExpired: (...args: any) => {
            console.log("------->onMeterExpired", args);
        },
    }
);
```