# @lowb/apiz-vue

> A vue plugin for apiz

Latest version **1.0.2** (published 2019-08-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lowb/apiz-vue
pnpm add @lowb/apiz-vue
yarn add @lowb/apiz-vue
bun add @lowb/apiz-vue
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-08-19 |
| First published | 2018-11-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 71.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | ta7sudan |
| Maintainers | ta7sudan |
| Keywords | apiz, vue |

## Links

- npm: https://www.npmjs.com/package/@lowb/apiz-vue
- Repository: https://github.com/ta7sudan/apiz-vue
- Homepage: https://github.com/ta7sudan/apiz-vue#readme
- Issues: https://github.com/ta7sudan/apiz-vue/issues
- npm.io page: https://npm.io/package/@lowb/apiz-vue

## Dependencies (3)

- [tslib](https://npm.io/package/tslib.md) ^1.9.3
- [apiz-ng](https://npm.io/package/apiz-ng.md) ^4.0.1
- [apiz-browser-client](https://npm.io/package/apiz-browser-client.md) ^7.0.0

## Recent versions

- 1.0.2 (latest) — 2019-08-19
- 1.0.1 — 2019-07-26
- 1.0.0 — 2019-07-26
- 0.1.11 — 2019-04-24
- 0.1.10 — 2019-03-30
- 0.1.9 — 2019-03-23
- 0.1.7 — 2019-03-23
- 0.1.6 — 2019-03-22
- 0.1.5 — 2019-02-05
- 0.1.4 — 2018-12-10
- 0.1.3 — 2018-11-28
- 0.1.2 — 2018-11-28
- 0.1.1 — 2018-11-27
- 0.1.0 — 2018-11-27

## README

# @lowb/apiz-vue
A vue plugin for apiz



## Installation

```shell
$ npm i -P @lowb/apiz-vue
```



## Usage

```javascript
import APIs from '@lowb/apiz-vue';
import Vue from 'vue';

Vue.use(APIs);

const apis = new APIs({
    meta: {
        getBooks: {
            path: '/book'
        }
    },
    retry: 1,
    beforeSend() {},
    afterResponse() {}
});

new Vue({
    apis
});
// or
new Vue({
    apis: {
        name: '$http',
        apiGroup: apis
    }
});
// or
new Vue({
    apis: [{
        name: '$group0',
        apiGroup: apis
    }, {
        name: '$group1',
        apiGroup: apis
    }]
});
```



## Options

* `meta` meta of [APIz](https://github.com/ta7sudan/apiz-ng#apizmeta-apimeta-options-groupoptions)
* All other option of [apiz-ng](https://github.com/ta7sudan/apiz-ng) are supported
* All options of [apiz-browser-client](https://github.com/ta7sudan/apiz-browser-client) are supported

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