Skip to main content

Built and signed on GitHub Actions

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
58%
Published
a month ago (0.0.0)

MTKruto Adapter for tMetrik

Minimum required MTKruto version: 0.2.41

Usage

import { Tmetrik } from "jsr:@tmetrik/mtkruto";

client.use(new Tmetrik("https://tmetrik-endpoint"));

// or with parameters
const tmetrik = new Tmetrik("https://tmetrik-endpoint", {
  threshold: 30,
  timeout: 5_000,
  log: false,
});
client.use(tmetrik);

Parameters

  • threshold - The maximum number of updates to dispatch at once. Defaults to 10,000.
  • timeout - The maximum duration to wait (in milliseconds) before dispatching updates. Defaults to 10,000 (10 seconds). Use a smaller duration to for near real-time dispatching of updates.
  • log - Whether logging should be enabled. Defaults to true.
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@tmetrik/mtkruto

Import symbol

import * as mod from "@tmetrik/mtkruto";

---- OR ----

Import directly with a jsr specifier

import * as mod from "jsr:@tmetrik/mtkruto";

Add Package

npx jsr add @tmetrik/mtkruto

Import symbol

import * as mod from "@tmetrik/mtkruto";

Add Package

yarn dlx jsr add @tmetrik/mtkruto

Import symbol

import * as mod from "@tmetrik/mtkruto";

Add Package

pnpm dlx jsr add @tmetrik/mtkruto

Import symbol

import * as mod from "@tmetrik/mtkruto";

Add Package

bunx jsr add @tmetrik/mtkruto

Import symbol

import * as mod from "@tmetrik/mtkruto";