node-sparkpool
v1.0.12
Published
Sparkpool.com Node API Client
Downloads
15
Readme
node-sparkpool
sparkpool.com nodejs api client
Installation
npm install node-sparkpool
Getting started
import Sparkpool from 'node-sparkpool'
const client = Sparkpool()
// if you want use diffent endpoint
const client2 = Sparkpool({
endpoint: 'https://www.sparkpool.com',
timeout: 5000 // http request timeout
})
client.poolStats().then(data => console.log(data))