# mostly-feathers-rest

> MostlyJS microservice RESTful api for feathers

Latest version **1.0.12** (published 2018-04-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install mostly-feathers-rest
pnpm add mostly-feathers-rest
yarn add mostly-feathers-rest
bun add mostly-feathers-rest
```

## 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.12 |
| Published | 2018-04-18 |
| First published | 2017-05-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 239.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Forafish |
| Maintainers | forafish |

## Links

- npm: https://www.npmjs.com/package/mostly-feathers-rest
- Repository: https://github.com/MostlyJS/mostly-feathers-rest
- Homepage: https://github.com/MostlyJS/mostly-feathers-rest#readme
- Issues: https://github.com/MostlyJS/mostly-feathers-rest/issues
- npm.io page: https://npm.io/package/mostly-feathers-rest

## Dependencies (5)

- [esm](https://npm.io/package/esm.md) ^3.0.14
- [debug](https://npm.io/package/debug.md) ^2.6.6
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [gulp-watch](https://npm.io/package/gulp-watch.md) ^4.3.11

## Recent versions

- 1.0.12 (latest) — 2018-04-18
- 1.0.11 — 2018-04-17
- 1.0.8 — 2017-09-26
- 1.0.7 — 2017-09-26
- 1.0.6 — 2017-06-20
- 1.0.5 — 2017-06-01
- 1.0.4 — 2017-05-10
- 1.0.3 — 2017-05-10
- 1.0.1 — 2017-05-01
- 1.0.0 — 2017-05-01

## README

MostlyJS Feathers Handler
=========================

[![Build Status](https://travis-ci.org/mostlyjs/mostly-feathers-rest.svg)](https://travis-ci.org/mostlyjs/mostly-feathers-rest)

This module provides an express middleware as a RESTful gateway to call microservice writing with [mostly-feathers](https://github.com/MostlyJS/mostly-feathers).

# Documentation

Please see the [documentation site](https://mostlyjs.github.io).

# Usage

## Installation

```bash
npm install mostly-feathers-rest
```

## Quick Example

```javascript
const express = require('express');
const bodyParser = require('body-parser');
const nats = require('nats');
const mostly = require('mostly-node');
const feathers = require('mostly-feathers-rest');

const trans = new mostly(nats.connect()
const app = express()
  .use(bodyParser.json())
  .use(bodyParser.urlencoded({ extended: true }));

trans.ready(() => {
  app.use(feathers(app, trans, '/api'));
  app.listen(process.env.PORT || 3001);
});
```

# License

MIT

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