opifex

0.1.0 • Public • Published

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!

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

Package Sidebar

Install

npm i opifex

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • cthulhuology