@ts-kizuna/cli
v1.64.1
Published
The contract loader the Swift and Kotlin client generators share
Readme
@ts-kizuna/cli
loadContract imports a contract module from TypeScript source, no build step needed. The Swift and Kotlin generators use it to load the contract they generate from.
Installation
pnpm add -D @ts-kizuna/cliUsage
import { loadContract } from '@ts-kizuna/cli';
const contract = await loadContract('./src/contract.ts');