Skip to main content
Version: dev

JavaScript/TypeScript Setup

Fory JavaScript/TypeScript packages are published on npm. The core package works without native acceleration; the optional @apache-fory/hps Node.js fast path requires Node.js 20 or later. Keep Fory packages in one application on compatible versions.

Verify the Toolchain

node --version
npm --version

Choose a Capability

CapabilityPackage or toolContinue with
Object Serialization@apache-fory/core; optional @apache-fory/hpsJavaScript/TypeScript object serialization and xlang
Schema and generated modelsfory-compilerFory IDL and Compiler
Fory gRPCgenerated Node.js or gRPC-Web companionsJavaScript gRPC

Each capability guide owns its exact install command, environment-specific setup, and first runnable example.