crowd-rest

0.0.2 • Public • Published

crowd-rest

RESTful implementation of the 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/tasks'))
  .pipe(worker())

That rest bit, is what we focus on here.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i crowd-rest

      Weekly Downloads

      1

      Version

      0.0.2

      License

      MIT

      Last publish

      Collaborators

      • nicola