# fx-orm

> ORM for fx application

Latest version **1.0.44** (published 2016-10-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install fx-orm
pnpm add fx-orm
yarn add fx-orm
bun add fx-orm
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.44 |
| Published | 2016-10-03 |
| First published | 2016-10-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+11 in 1 direct dependencies) |
| Install scripts | yes |
| Author | Serj Borovikov |
| Maintainers | yiooxir |
| Keywords | ES6, amqp, rabbit-mq, rabbit, simple, queues, simple-queues, simple-amqp, simple-rabbit |

## Links

- npm: https://www.npmjs.com/package/fx-orm
- npm.io page: https://npm.io/package/fx-orm

## Dependencies (4)

- [lodash](https://npm.io/package/lodash.md) ^4.15.0
- [winston](https://npm.io/package/winston.md) ^2.2.0
- [mongoose](https://npm.io/package/mongoose.md) ^4.0.0
- [revalidator](https://npm.io/package/revalidator.md) ^0.3.1

## Alternatives

- [cron](https://npm.io/package/cron.md) — 4.9M weekly downloads
- [@vercel/queue](https://npm.io/package/@vercel/queue.md) — 731.6K weekly downloads
- [create-sonicjs](https://npm.io/package/create-sonicjs.md) — 1.6K weekly downloads
- [@exellix/jobs-api](https://npm.io/package/@exellix/jobs-api.md) — 941 weekly downloads
- [@forwardimpact/libskill](https://npm.io/package/@forwardimpact/libskill.md) — 575 weekly downloads

## Recent versions

- 1.0.44 (latest) — 2016-10-03
- 1.0.43 — 2016-10-03
- 1.0.42 — 2016-10-03
- 1.0.41 — 2016-10-03
- 1.0.40 — 2016-10-03

## README

# amqp-simple-connect
Simple wrapper for amqp. Provide only two simple methods: #publish & #subscribe.

## Installation


```
npm install --save amqp-simple-connect
```

## Usage

### connect

```js
import ORMConnect from 'fx-orm';
const config = {
    mongodb: {uri: '...', options: '...'},
    amqp: {path: '...', exchane: '...'}
}
await ORMConnect(config)
```

### models

```
import { Order, Terminal, TerminalSchema } from 'fx-orm/models';
```

* Order
* OrderSchema
* Terminal
* TerminalSchema

### data

* fixtures
* maps
* types
* validators

### utils

* helpers
    * stringHash(length:optional)
    * formatTime(datetime:optional)
    * getValidationSchemaByQName(queueName)
    * validate(object, schema, options = defaultOptions)
* logger

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