This module contains general and common utility Classes and Functions for NodeJS used by MintPond Mining Pool.
Install as Dependency in NodeJS Project
# Install from Github git package
sudo apt-get install build-essential
npm install mintpond/mint-utils --save
-or-
# Install from Github NPM repository
npm config set @mintpond:registry https://npm.pkg.github.com/mintpond
npm config set //npm.pkg.github.com/:_authToken <MY_GITHUB_AUTH_TOKEN>
npm install @mintpond/[email protected] --save
Install & Test
# Install nodejs v10
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs -y
# Download mint-utils
git clone https://github.com/MintPond/mint-utils
# build & test
cd mint-utils
npm install
npm test