Skip to content

izaakschroeder/cutie-sqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cutie-sqs

SQS backend for cutie.

build status coverage license version downloads

Got jobs you need to run from an SQS queue? Now processing them is easy.

var through2 = require('through2'),
	sqs = require('cutie-sqs');

function work(job, encoding, callback) {
	// Do work here
	...

	// Job is done
	callback(null, job);
}

// Create the job queue
var jobs = sqs('https://my-queue-url');

// Process jobs
jobs.pipe(through2.obj(work));

// Send a job
jobs.write({ message: 'hello world' });

About

Power cutie with SQS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published