0.2.1 • Published 10 months ago

@jackbilestech/match-betting-calculator v0.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Match Betting Calculator

Neat little function for calculating match betting values.

How To Use

import C from '@jackbilestech/match-betting-calculator'

const cl = new C()
const o = cl.calculate('Trigger', 1.58, 20, 1.6, 0.02)

console.log(o)

// console output
// {
//   bet_type,
//   back_odds,
//   back_return,
//   lay_return,
//   commission,
//   back_win,
//   lay_odds,
//   liability,
//   profit,
//   back_stake,
//   lay_stake
// }
0.2.1

10 months ago

0.2.0

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago