# @anarklab/expressive-controller

> Controller extensible for expressive

Latest version **0.3.0** (published 2018-04-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @anarklab/expressive-controller
pnpm add @anarklab/expressive-controller
yarn add @anarklab/expressive-controller
bun add @anarklab/expressive-controller
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2018-04-08 |
| First published | 2018-03-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 32.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Anark Lab. |
| Maintainers | uselessdev |
| Keywords | Expressive |

## Links

- npm: https://www.npmjs.com/package/@anarklab/expressive-controller
- Repository: https://github.com/anarklab/expressive-controller
- Homepage: https://github.com/anarklab/expressive-controller#readme
- Issues: https://github.com/anarklab/expressive-controller/issues
- npm.io page: https://npm.io/package/@anarklab/expressive-controller

## Dependencies (1)

- [eslint](https://npm.io/package/eslint.md) ^4.18.0

## Recent versions

- 0.3.0 (latest) — 2018-04-08
- 0.2.0 — 2018-04-05
- 0.1.0 — 2018-03-02

## README

# @anarklab/expressive-controller

### Install
```bash
yarn add @anarklab/expressive-controller

# or if you use npm
npm install @anarklab/expressive-controller --save
```

## Usage
```js
const Books = require('./repository')
const { Controller } = require('@anarklab/expressive-controller')
const BookControoler = Controller(Books)

module.exports = Controller(Books)

module.exports = {
  index: BookControoler.index,
  show: BookControoler.show,
  store: BookControoler.store,
  update: BookControoler.save,
  destroy: BookControoler.remove
}
```

This exports an object with the methods below:
```js
{
  index,
  show,
  store,
  update,
  destroy
}
```

## TO DO
- [ ] More detailed documentation
- [ ] CHANGELOG
- [ ] CONTRIBUTING
- [ ] Tests

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