Skip to main content
Home
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
52%
Published
a year ago (1.0.0)

decisionEngineClient

client library for decision engine integration

Installation

npm install decision-engine-client

Usage

import { DecisionEngineClient } from "../src";

const client = new DecisionEngineClient({
  apiKey: "your-api-key",
  projectId: 1,
  decisionEngineName: "Decision-engine-name",
  serviceUrl: "http://localhost:8080/hopsworks-api/api/project",
});

...
client.handleProductClick({
  id: "test-id",
  event_type: "click",
  event_value: 1,
});

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@ehsan/decision-engine-client

Import symbol

import * as decision_engine_client from "@ehsan/decision-engine-client";
or

Import directly with a jsr specifier

import * as decision_engine_client from "jsr:@ehsan/decision-engine-client";

Add Package

pnpm i jsr:@ehsan/decision-engine-client
or (using pnpm 10.8 or older)
pnpm dlx jsr add @ehsan/decision-engine-client

Import symbol

import * as decision_engine_client from "@ehsan/decision-engine-client";

Add Package

yarn add jsr:@ehsan/decision-engine-client
or (using Yarn 4.8 or older)
yarn dlx jsr add @ehsan/decision-engine-client

Import symbol

import * as decision_engine_client from "@ehsan/decision-engine-client";

Add Package

vlt install jsr:@ehsan/decision-engine-client

Import symbol

import * as decision_engine_client from "@ehsan/decision-engine-client";

Add Package

npx jsr add @ehsan/decision-engine-client

Import symbol

import * as decision_engine_client from "@ehsan/decision-engine-client";

Add Package

bunx jsr add @ehsan/decision-engine-client

Import symbol

import * as decision_engine_client from "@ehsan/decision-engine-client";