open-index/open-npm huggingface dataset:
npm package: @pixul/hapi-iris
Description: HAPI plugin to wrap basic RabbitMQ operations
Author: Pixul
Latest version: 0.1.5

# Work in Progress

# hapi-iris

HAPI plugin to wrap basic RabbitMQ operations based on [amqp library](https://github.com/squaremo/amqp.node) for NodeJS.

This plugin enables these RabbitMQ operations :
    - pub/sub
    - send to queue or exchange
    - consume messages from queue or exchange
    - send a request in RPC mode

For further informations about RabbitMQ possibilities, see [RabbitMQ official documentation](https://www.rabbitmq.com/getstarted.html).

## Installation

```bash
npm install --save @pixul/hapi-iris
```
npm package: @pixul/joi-country
Description: ISO Country extension for Joi
Author: Corentin BORDES
Latest version: 1.0.0

# Joi Country

A Joi extension for validation of [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes.

### Installation

```
npm install --save @pixul/joi-country
```

### Usage

```js
const BaseJoi = require('@hapi/joi')
const JoiCountryExtension = require('@pixul/joi-country')
const Joi = BaseJoi.extend(JoiCountryExtension)

const schema = Joi.string().country()
const result = await schema.validate('gb')

console.log(result) // GB
```


### Credits

This plugin is a fork & rewrite of https://github.com/Tallysticks/joi-country-extension to support joi > 16