# vue3-delay-watch

> vue 3 watcher that waits a minimum delay until the latest state gets passed to the watch hook

Latest version **0.1.3** (published 2025-11-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install vue3-delay-watch
pnpm add vue3-delay-watch
yarn add vue3-delay-watch
bun add vue3-delay-watch
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2025-11-06 |
| First published | 2022-02-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^12.20.0 \|\| ^14.13.1 \|\| >=16.0.0 |
| Dependencies | 0 |
| Unpacked size | 7.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Maurice Conrad |
| Maintainers | mauriceconrad |
| Keywords | vue3, delay, interval, watch |

## Links

- npm: https://www.npmjs.com/package/vue3-delay-watch
- Repository: https://github.com/BluePicSoftware/vue3-delay-watch
- Homepage: https://github.com/BluePicSoftware/vue3-delay-watch#readme
- Issues: https://github.com/BluePicSoftware/vue3-delay-watch/issues
- npm.io page: https://npm.io/package/vue3-delay-watch

## Recent versions

- 0.1.3 (latest) — 2025-11-06
- 0.1.2 — 2022-04-09
- 0.1.1 — 2022-02-09
- 0.1.0 — 2022-02-09

## README

# Vue 3 Delay watch

## Usage

```javascript
import delayWatch from 'vue3-delay-watch'

const foo = ref('bar');

delayWatch(foo, (newVal, oldVal) => {
  console.log('foo did changed!', newVal);
}, 1000);
```


### Arguments

1. The watcher function or watched target (same as `watch` uses) (**required**)
2. The watcher callback (**required**)
3. The minimum delay in milliseconds between the update hooks (default is `1000`)
4. Sync callback without delay

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