# vue-debounce-decorator

> Debounce methods in vue class components

Latest version **1.0.1** (published 2019-06-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-debounce-decorator
pnpm add vue-debounce-decorator
yarn add vue-debounce-decorator
bun add vue-debounce-decorator
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-06-24 |
| First published | 2019-04-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | trepz |
| Maintainers | trepz |
| Keywords | vue, typescript, decorator, debounce |

## Links

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

## Dependencies (1)

- [vue-class-component](https://npm.io/package/vue-class-component.md) ^6.3.2

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2019-06-24
- 1.0.0 — 2019-04-20

## README

# vue-debounce-decorator

[![Build Status](https://travis-ci.org/trepz/vue-debounce-decorator.svg?branch=master)](https://travis-ci.org/trepz/vue-debounce-decorator)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

Debounce vue class methods using the `@Debounce()` decorator with [vue class components](https://github.com/vuejs/vue-class-component).

```javascript
import Vue from 'vue'
import Component from 'vue-class-component'
import { Debounce } from 'vue-debounce-decorator'

@Component
export default class App extends Vue {
  @Debounce(500)
  debouncedMethod() {
    console.log(`This method is debounced by 500ms`)
  }
}
```

## Installing

```
yarn add -D vue-debounce-decorator
```

or

```
npm i vue-debounce-decorator --save-dev
```

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