UNPKG

llm-test-bench

Version:

A production-grade CLI for testing and benchmarking LLM applications with support for GPT-5, Claude Opus 4, Gemini 2.5, and 65+ models

11 lines (8 loc) 390 B
#!/usr/bin/env node const { spawn } = require('child_process'); const path = require('path'); const platform = process.platform; const ext = platform === 'win32' ? '.exe' : ''; const binaryPath = path.join(__dirname, `llm-test-bench${ext}`); const child = spawn(binaryPath, ['config', ...process.argv.slice(2)], { stdio: 'inherit' }); child.on('exit', (code) => process.exit(code || 0));