-
Notifications
You must be signed in to change notification settings - Fork 399
What is this?
Juan Cazala edited this page Sep 21, 2017
·
1 revision
This package just does the following:
-
Launch a local server that serves a page where CoinHive's Javascript miner is embedded.
-
Launch puppeteer (a headless chrome) pointing to that page.
-
Expose an API that allows you to interact with that miner from node.js (starting, stopping, etc).
The purpose of this package is to allow you to run CoinHive's JavaScript miner from node.js (otherwise it only works on the browser).
Disclaimer: this project has nothing to do with coin-hive.com
or CoinHive's JavaScript miner.