A npm module to provide an API client for cgminer (supports sgminer/bfgminer)