1.0.8 • Published 5 years ago

@ossmo/client v1.0.8

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
5 years ago

@ossmo/client

Screen Recording

This package prompts the user, installs mining software, and begins mining.

API

function promptUser(packageName): Promise

Example

module.exports = async function myModuleEntryPoint(){
  await require('@ossmo/client')(require('./package.json').name);     //here's how you load ossmo
                                                                      //the prompts are asynchronous,
                                                                      //so you need to await

  console.log('Do some stuff here');
}