Our core valuation methodology, published as an npm package. Install it, inspect the code, use it in your projects. No black boxes.
Install via npm or yarn. Zero dependencies. TypeScript support included.
Basic usage with the calculateOffer function. Pass property details, get an instant valuation.
The main function for calculating property offers. All parameters are validated at runtime.
| Parameter | Type | Description |
|---|---|---|
arv required |
number | After Repair Value in dollars |
condition required |
'excellent' | 'good' | 'fair' | 'poor' | Current property condition |
sqft |
number | Square footage (improves accuracy) |
beds |
number | Number of bedrooms |
baths |
number | Number of bathrooms |
market |
'hot' | 'stable' | 'declining' | Market conditions (default: 'stable') |
maxOffer |
number | Optional cap on offer amount |
While iBuyers like Opendoor hide their algorithms, we publish ours. This isn't charity — it's strategy.
When sellers can see exactly how we calculate offers, they trust us. No hidden fees. No surprise deductions. The transparency becomes a competitive advantage. Fork it, improve it, or just verify we're playing fair.