Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
tMetrik/MTKrutoIt is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, 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
View transparency logGitHub Actions
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";