Skip to main content
Home

@unyt/datex@0.0.10
Built and signed on GitHub Actions

Cross-network reactivity with encrypted end-to-end data synchronisation between browser clients and servers.

This package works with Node.js, Deno, Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers
It is unknown whether 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
4 days ago (0.0.10)

DATEX Core JS

Check out our specification at datex.unyt.org.

Twitter badge Discord badge

The DATEX logo

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

Examples

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");
Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@unyt/datex

Import symbol

import * as datex from "@unyt/datex";
or

Import directly with a jsr specifier

import * as datex from "jsr:@unyt/datex";

Add Package

pnpm i jsr:@unyt/datex
or (using pnpm 10.8 or older)
pnpm dlx jsr add @unyt/datex

Import symbol

import * as datex from "@unyt/datex";

Add Package

yarn add jsr:@unyt/datex
or (using Yarn 4.8 or older)
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";