@alexproc1313/nux-bet-data

1.0.8 • Public • Published

Get object

const betData = require('nux-bet-data');

Get list of combinations (3-8)

console.log(betData.systemData.getListData(4));

Get name system by key

Pas system key for ex. '4-4' and get system name

console.log(betData.systemData.getSystemName('4-4'));

Get possible win

pass 3 arguments

  • object with system key, example: {key: '3-4'}
  • stakeBet - sum for 1 combination
  • array of objects witch contains odd coef, example: [{odd: 1.2}, {odd: 1.2}, {odd: 1.2}]

example

console.log(betData.systemData.possibleWins({key: '3-4'}, 2, [{odd: 1.2}, {odd: 3}, {odd: 1.7}]));

Readme

Keywords

none

Package Sidebar

Install

npm i @alexproc1313/nux-bet-data

Weekly Downloads

4

Version

1.0.8

License

MIT

Unpacked Size

10.4 kB

Total Files

4

Last publish

Collaborators

  • alexproc13