Skip to content

Complete cgminer API implementation for Node.js with multi-version support and integration tests

License

Notifications You must be signed in to change notification settings

hashpanel/node-cgminer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cgminer-api

Complete cgminer API implementation for Node.js with multi-version support, response validation, and integration tests.

NPM version Build status Dependency Status

Install

$ npm install cgminer-api --save

Usage

var Client = require('cgminer-api').client;
var cgminer = new Client({
  host: '192.168.1.99',
  port: 4028
});

cgminer.connect()
  .then(function () {
    return cgminer.version();
  })
  .then(function (version) {
    console.log(version);
  })
  .catch(function (error) {
    console.log(error);
  });

License

MIT

About

Complete cgminer API implementation for Node.js with multi-version support and integration tests

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •