tenhaw / kit

Package reference

AI ROI and project cost

Compare low, base and high AI business-case assumptions without treating recovered staff capacity as cash by default.

npm install @tenhaw/ai-roi

CLI

npx tenhaw@latest roi --input roi.json --json

Library

import { calculateRoi } from '@tenhaw/ai-roi';
// Complete input: /examples/roi.json
const report = calculateRoi(input);
console.log(report.scenarios.base.npv);

Input and output

calculateRoi(input); estimateProjectCost({ stage: 'poc' })

Inputs are validated against JSON Schema 2020-12. Invalid input reports a JSON path. Pure calculations return deterministic JSON without timestamps or promotion fields.