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 OcgCardData

Card data definition. These values should be imported as is from the cards.cdb of the card database you want to use. These will be requested in OcgDuelOptions#cardReader.

EdoPro card database: https://github.com/ProjectIgnis/BabelCDB

Properties

Passcode.

The passcode alias, 0 if it doesn't have any.

Codes of all the sets (archetypes) this card is a part of.

type: OcgType | (number & { })

Card type.

Level, rank or link rating, 0 if not applicable.

Monster attribute, 0 if not applicable.

race: OcgRace | (bigint & { })

Monster race, 0 if not applicable.

Monster card attack, 0 if not applicable.

Monster card defense, 0 if not applicable.

Left pendulum scale, 0 if not applicable.

Right pendulum scale, 0 if not applicable.

Add Package

deno add jsr:@n1xx1/ocgcore-wasm

Import symbol

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

---- OR ----

Import directly with a jsr specifier

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

Add Package

npx jsr add @n1xx1/ocgcore-wasm

Import symbol

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

Add Package

yarn dlx jsr add @n1xx1/ocgcore-wasm

Import symbol

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

Add Package

pnpm dlx jsr add @n1xx1/ocgcore-wasm

Import symbol

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

Add Package

bunx jsr add @n1xx1/ocgcore-wasm

Import symbol

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