Skip to content

AndreyProgr/estimate-js

Repository files navigation

Release semantic-release

CodeFactor Maintainability Test Coverage

Commitizen friendly semver GitHub license Downloads

Estimation tools set. Currently supported entities:

  • 3-Point
  • PERT

Try it out

Want to get a quick demo before using it? Press the button below.

Edit Estimate JS playground

Installation

With NPM:

npm i estimate-js -S

or using YARN:

yarn add estimate-js

Usage

Import required entities to you code:

  import { ThreePointEstimate, PertEstimate } from 'estimate-js';

Perform operations you need:

  const threePointEstimate = new ThreePointEstimate(2, 3, 5);
  const PERTEstimate = new PertEstimate(threePointEstimate);

  const { estimate: E, standartDeviation: SD } = PERTEstimate;

  // 95% prob.
  console.log(E - (2 * SD), '-', E + (2 * SD));