Requirements
Node.js
≥ 18.0.0
TypeScript
≥ 5.7 (optional, types included)
React
≥ 17 (only for
miniapp/react)Installing via npm
Imports
The package has five subpath exports — import only the one you need:Using a CDN
For static pages without a build step, an IIFE bundle of the MiniApp module (ExodeMiniApp, retrieveInitData) is available.
React hooks and server functions are not shipped via the CDN. The devtools for development (the loading silhouette)
are a separate bundle, miniapp-devtools.global.js — see Native look.
ExodeMiniAppSDK object becomes available:
In production, always pin the version (
v0.3.0, v0.3.1, etc.). The latest tag updates automatically and may introduce breaking changes.
retrieveInitData is available in the CDN bundle starting from v0.3.1. Version numbers on the CDN may lag behind npm — if the version
you need is not on the CDN, install via npm.TypeScript
Types ship with the package; no additional@types/... package is required.
Updated: 2026-10-22 23:06 UTC