# sav-decorator

> Interface generator with ES7 decorator

Latest version **1.0.7** (published 2017-03-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install sav-decorator
pnpm add sav-decorator
yarn add sav-decorator
bun add sav-decorator
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2017-03-15 |
| First published | 2017-02-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | jetiny |
| Maintainers | jetiny |

## Links

- npm: https://www.npmjs.com/package/sav-decorator
- Repository: https://github.com/savjs/sav-decorator
- Homepage: https://github.com/savjs/sav-decorator#readme
- Issues: https://github.com/savjs/sav-decorator/issues
- npm.io page: https://npm.io/package/sav-decorator

## Recent versions

- 1.0.7 (latest) — 2017-03-15
- 1.0.6 — 2017-03-01
- 1.0.5 — 2017-03-01
- 0.0.4 — 2017-02-28
- 0.0.3 — 2017-02-24
- 0.0.2 — 2017-02-22
- 0.0.1 — 2017-02-22

## README

# sav-decorator
Interface generator with ES7 decorator

#### Interface Useage

```js

class TestInterface {
  @conf('hello', 'world')
  test () {}
}

@gen({auth: true})
@impl(TestInterface)
  class Test {
  async test () {}
}

Test = {
  name: 'Test',
  props: {auth: true},
  actions: {
    test: {
      name: 'test',
      method: async test () {},
      middleware: [
        ['hello', 'world']
      ]
    }
  }
}

```

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