
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@harvest-profit/what-if-analysis
Advanced tools
The demo can be found published here
You can install this React Component with a simple:
yarn add @harvest-profit/what-if-analysis
import React, { Component } from 'react';
import WhatIfAnalysisTable from '@harvest-profit/what-if-analysis';
class WhatIfAnalysis extends Component {
render() {
return (
<WhatIfAnalysisTable
acres={200}
cashPriceWithBasis={2.00}
guaranteedRevenue={569}
totalCost={500 * 200}
aph={115}
yieldIncrement={5}
yieldDecriment={10}
/>
)
}
}
This component can accept the following props:
| Name | Required | Description |
|---|---|---|
| acres | true | The total acres for a analysis |
| cashPriceWithBasis | true | The cash price, after the basis has been applied. |
| guaranteedRevenue | true | The per acre revenue guaranteed by crop insurance. |
| totalCost | true | The total cost of production. |
| aph | true | The APH for the given field, or the estimated production. |
| yieldIncrement | true | Increments upward from the given APH. |
| yieldDecrement | true | Decrements downward from the given APH. |
| tableClassName | false | The css class for the overall table. Defaults to table table-responsive. |
| cellGreenClassName | false | The css class for cells representing profit. Defaults to table-success. |
| cellRedClassName | false | The css class for cells representing loss. Defaults to table-danger. |
| cellYellowClassName | false | The css class for cells representing small losses. Defaults to table-warning. |
To get started on this repo, you will need both yarn and node.
To install the project dependencies, from the main repo run:
yarn install
You can run the development server by running:
cd demo
yarn start
This project is MIT licensed
FAQs
Builds "what if" analysis for Harvest Profit
We found that @harvest-profit/what-if-analysis demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.