Skip to main content

@iroha/core@0.3.1
Built and signed on GitHub Actions

Core components of Iroha JavaScript SDK.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 weeks ago (0.3.1)
type alias EnumCodecSchema

Type Parameters

E extends scale.EnumRecord

Definition

[K in keyof E]: E[K] extends [infer V] ? [number, GenCodec<V>] : [number]

Add Package

deno add jsr:@iroha/core

Import symbol

import { type EnumCodecSchema } from "@iroha/core/codec";

---- OR ----

Import directly with a jsr specifier

import { type EnumCodecSchema } from "jsr:@iroha/core/codec";

Add Package

npx jsr add @iroha/core

Import symbol

import { type EnumCodecSchema } from "@iroha/core/codec";

Add Package

yarn dlx jsr add @iroha/core

Import symbol

import { type EnumCodecSchema } from "@iroha/core/codec";

Add Package

pnpm dlx jsr add @iroha/core

Import symbol

import { type EnumCodecSchema } from "@iroha/core/codec";

Add Package

bunx jsr add @iroha/core

Import symbol

import { type EnumCodecSchema } from "@iroha/core/codec";