0.0.3 • Published 12 years ago

strangeaeons v0.0.3

Weekly downloads
3
License
-
Repository
-
Last release
12 years ago

opifex

Opifex is a coffeescript module for doing useful work.

Usage

First write a script like:

Opifex = require 'Opifex'
Opifex('amqp://user:password@host:port/domain/exchange/key/[queue/[exchange/key]]')
	.facit = (command) ->
		console.log "Got command #{command}"

And then on the given host send to the appropriate vhost on the given exchange a message:

[ "facit", "some command" ]

And it will log "Got command some command" to the console!

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago