@ageira/base-rate-calculator

0.2.0 • Public • Published

Haulers Channel Base Rate Calculator

The Base Rate Calculator as a stand-alone node.js module.

All I have done is extract the code from the calculator. All credit for its development goes to the original author(s).

Install

> npm i @ageira/base-rate-calculator [--save]

Usage

import { calcReward } from "@ageira/base-rate-calculator";

const reward = calcReward(
  100000, // volume
  4, // jumps
  1000000000, // collateral
  "H", // type - 'H' for high-sec only, 'L' for low/nullsec
  false, // rush
);

Readme

Keywords

Package Sidebar

Install

npm i @ageira/base-rate-calculator

Weekly Downloads

1

Version

0.2.0

License

ISC

Unpacked Size

4.04 kB

Total Files

4

Last publish

Collaborators

  • michielvdvelde