🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@ossmo/client

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ossmo/client

Mine cryptocurrency to support open source sorftware projects.

1.0.8
latest
npm
Version published
Maintainers
1
Created
Source

@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');
}

FAQs

Package last updated on 27 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts