# daisy

> Abstracted MQ for rabbitmq

Latest version **0.2.0** (published 2012-11-16) · 0 weekly downloads

## Install

```sh
npm install daisy
pnpm add daisy
yarn add daisy
bun add daisy
```

Provides the command `daisy`.

## Health

**Score 0/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: insecure dependencies; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2012-11-16 |
| First published | 2011-10-08 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Craig Condon |
| Maintainers | architectd |

## Links

- npm: https://www.npmjs.com/package/daisy
- Repository: http://github.com/crcn/daisy.js
- npm.io page: https://npm.io/package/daisy

## Dependencies (13)

- [amqp](https://npm.io/package/amqp.md) git+https://github.com/postwait/node-amqp
- [vine](https://npm.io/package/vine.md) <0.1.0
- [async](https://npm.io/package/async.md) 0.1.x
- [crema](https://npm.io/package/crema.md) *
- [cashew](https://npm.io/package/cashew.md) 0.0.5
- [colors](https://npm.io/package/colors.md) 0.5.1
- [plugin](https://npm.io/package/plugin.md) <0.2.0
- [sprintf](https://npm.io/package/sprintf.md) 0.1.x
- [structr](https://npm.io/package/structr.md) <0.2.0
- [beanpoll](https://npm.io/package/beanpoll.md) <0.3.0
- [yaconfig](https://npm.io/package/yaconfig.md) <=0.1.0
- [underscore](https://npm.io/package/underscore.md) 1.2.2
- [mesh-winston](https://npm.io/package/mesh-winston.md) 0.0.x

## Recent versions

- 0.2.0 (latest) — 2012-11-16
- 0.1.13 — 2012-06-23
- 0.1.12 — 2012-02-26
- 0.1.11 — 2012-02-26
- 0.1.10 — 2012-02-24
- 0.1.9 — 2012-02-19
- 0.1.8 — 2012-02-16
- 0.1.7 — 2012-02-09
- 0.1.6 — 2012-02-09
- 0.1.5 — 2012-02-07
- 0.1.4 — 2012-02-05
- 0.1.3 — 2012-02-03
- 0.1.2 — 2012-02-03
- 0.1.1 — 2012-02-02
- 0.1.0 — 2012-02-02
- … 13 more at https://npm.io/package/daisy/versions

## README

## Beanpole + Rabbitmq



### Roadmap

- passing files
- support for other transports

### Setting Up

1. make sure you have rabbitmq (duh).
2. `npm install daisy -g`
3. In terminal, type `daisy --host rabbitmq-server` to startup the daisy server.
4. In the apps you want to hook up with rabbitMQ, setup your package.json like so:


```javascript

{
    "name": "app-name",
    "version": "0.0.1",

    "dependencies": {
        "beanpole": "*",
		"daisy": "*"
    },

	"beans": {
		"daisy": {
			"name": "name-of-app-queue",
			"host": "localhost"
		}
	},
    
    "main": "./lib/index.js"
}


```

5. you'll need to write a chunk of code kinda like this:

```javascript

var beanpole = require('beanpole'),
router = beanpole.router();

router.require(__dirname + '/package.json');

router.on({
	
	/**
	 */
	
	'push -public my/public/message': function()
	{
		//handle response from networked app
	}
});

//initialize the beans!
router.push('init');

```

---
_Source: https://npm.io/package/daisy · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
