Skip to content

4tj/node-sparkpool

Repository files navigation

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))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published