@ifc-lite/server-bin
Pre-built IFC-Lite server binary - run without Docker or Rust.
CLI Usage: npx @ifc-lite/server-bin npx ifc-lite-server
Programmatic Usage:
import { runBinary, ensureBinary, getBinaryInfo } from '@ifc-lite/server-bin';// Get binary infoconst info = getBinaryInfo();console.log(`Platform: ${info.platform.targetTriple}`);console.log(`Cached: ${info.isCached}`);// Ensure binary is downloadedconst binaryPath = await ensureBinary();// Run the serverconst exitCode = await runBinary(['--help']); Copy
import { runBinary, ensureBinary, getBinaryInfo } from '@ifc-lite/server-bin';// Get binary infoconst info = getBinaryInfo();console.log(`Platform: ${info.platform.targetTriple}`);console.log(`Cached: ${info.isCached}`);// Ensure binary is downloadedconst binaryPath = await ensureBinary();// Run the serverconst exitCode = await runBinary(['--help']);
Check if binary exists and is the correct version.
@ifc-lite/server-bin
Pre-built IFC-Lite server binary - run without Docker or Rust.
CLI Usage: npx @ifc-lite/server-bin npx ifc-lite-server
Programmatic Usage: