Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 516 Bytes

File metadata and controls

22 lines (16 loc) · 516 Bytes

node-nicehash

nicehash.com nodejs api client

I only abstracted some of my commonly used APIs. If there is a need for support, I will welcome issue feedback and I will add it, and PR is very welcome

Installation

npm install node-nicehash

Getting started

import Nicehash from 'node-nicehash'

const client = Nicehash()

const client2 = Nicehash({
  timeout: 5000 // http request timeout
})

client.account().then(data => console.log(data))