Explore the valuation API interactively. Each method maps to the Python library via the /api/calculate endpoint.
import { scorecard } from "@simonmak-ascent/startup-valuation";
const r = await scorecard(1500000, [0.3,0.25,0.15,0.1,0.1,0.05,0.05], [1.25,1.5,1.2,0.75,1,0.9,1]);
console.log(r.value); // 1800000POST /api
{ "jsonrpc": "2.0", "method": "tools/call",
"params": { "name": "valuation_scorecard", "arguments": {...} }, "id": 1 }