New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

remote-task

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remote-task

Task runner

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
decreased by-25%
Maintainers
1
Weekly downloads
 
Created
Source

remote-task

Simple server for remotely running tasks and logging their output to papertrail

Installation

npm install remote-task

or

npm install --save remote-task

Usage

Server:

var remoteTask = require('remote-task');

var server = remoteTask(12345); //your papertrail port number

server.listen(3000);

Client:

var remoteTask = require('remote-task');

var remoteControl = remoteTask.remoteStream(3000, '127.0.0.1'); //IP address is optional, arguments are passed to net.connect()

remoteControl.write(['cd', '/tmp']);
remoteControl.write(['touch', 'helloworld']);

remoteControl.on('data', function(result){
  console.log(result.status); //success, hopefully
});

Keywords

FAQs

Package last updated on 26 Feb 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc