Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crowd-client

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crowd-client

Generic client for crowd

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

crowd-client

Generic client for Crowd that gets tasks, execute them and get to the next task.

Warning: this is very experimantal - in case you get it to work, you might feel "double rainbow all the way".

Usage

Ideally, one should be able to do so:

var worker = require('crowd-webworker')
var crowd = require('crowd-client')
var rest = require('crowd-rest')

crowd(opts)
  .use(rest('http://127.0.0.1:1200/task'))
  .pipe(worker())

What happens in the worker is that the task function is retrieved from the crowd-client, evaluated and executed.

Keywords

FAQs

Package last updated on 06 Aug 2014

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