Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Cross-network reactivity with encrypted end-to-end data synchronisation between browser clients and servers.
DATEX Core JS
Check out our specification at datex.unyt.org.
The DATEX Core Library for JavaScript (DATEX Core JS) is based on the DATEX Core Rust library and provides a high-level API for working with DATEX in JavaScript and TypeScript. DATEX is developed and maintained by the unyt.org organization and community.
You can find the legacy version of the DATEX Core library (implemented in TypeScript) at unyt-org/datex-core-js-legacy. The legacy version is still maintained and supported until this library reaches feature parity.
Contributing
We welcome every contribution!
Please take a look at the
development guidelines and the unyt.org
contribution guidlines.
© unyt 2025 • unyt.org
Example 1
Example 1
import { Runtime } from "@unyt/datex"; // Create a runtime instance export const runtime: Runtime = await Runtime.create({ interfaces: [{ type: "websocket-client", config: { address: "wss://example.unyt.land" }, }], }); // Use the runtime instance const result = await runtime.execute("@example :: 1 + 2");
Add Package
deno add jsr:@unyt/datex
Import symbol
import * as datex from "@unyt/datex";
Import directly with a jsr specifier
import * as datex from "jsr:@unyt/datex";
Add Package
pnpm i jsr:@unyt/datex
pnpm dlx jsr add @unyt/datex
Import symbol
import * as datex from "@unyt/datex";
Add Package
yarn add jsr:@unyt/datex
yarn dlx jsr add @unyt/datex
Import symbol
import * as datex from "@unyt/datex";
Add Package
vlt install jsr:@unyt/datex
Import symbol
import * as datex from "@unyt/datex";
Add Package
npx jsr add @unyt/datex
Import symbol
import * as datex from "@unyt/datex";
Add Package
bunx jsr add @unyt/datex
Import symbol
import * as datex from "@unyt/datex";