Skip to main content

Built and signed on GitHub Actions

ProjectIgnis' EDOPro Core built for WebAssembly using emscripten.

This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
88%
Published
5 months ago (0.0.29)
interface OcgDuelOptions

Duel creation options.

Properties

Duel flags

Xoshiro256** seed. Don't use [0n,0n,0n,0n]

Team 1 settings.

Team 2 settings.

cardReader: (card: number) =>

Requests card infos for the given passcode.

Requests the script contents for the given path.

optional
errorHandler: (
type: OcgLogType,
text: string,
) => void

Handle script or core errors.

Add Package

deno add jsr:@n1xx1/ocgcore-wasm

Import symbol

import { type OcgDuelOptions } from "@n1xx1/ocgcore-wasm";

---- OR ----

Import directly with a jsr specifier

import { type OcgDuelOptions } from "jsr:@n1xx1/ocgcore-wasm";

Add Package

npx jsr add @n1xx1/ocgcore-wasm

Import symbol

import { type OcgDuelOptions } from "@n1xx1/ocgcore-wasm";

Add Package

yarn dlx jsr add @n1xx1/ocgcore-wasm

Import symbol

import { type OcgDuelOptions } from "@n1xx1/ocgcore-wasm";

Add Package

pnpm dlx jsr add @n1xx1/ocgcore-wasm

Import symbol

import { type OcgDuelOptions } from "@n1xx1/ocgcore-wasm";

Add Package

bunx jsr add @n1xx1/ocgcore-wasm

Import symbol

import { type OcgDuelOptions } from "@n1xx1/ocgcore-wasm";