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

19 lines (14 loc) 457 B
#!/usr/bin/env node const { spawnSync } = require('child_process'); console.log('Testing llm-test-bench installation...\n'); const result = spawnSync('node', [require.resolve('../bin/llm-test-bench.js'), '--version'], { encoding: 'utf8', stdio: 'inherit' }); if (result.status === 0) { console.log('\n✓ llm-test-bench is working correctly!'); process.exit(0); } else { console.error('\n✗ llm-test-bench test failed'); process.exit(1); }