{"id":20302212,"url":"https://github.com/ilham89/vue-use-debounce-ref","last_synced_at":"2026-05-30T21:31:32.207Z","repository":{"id":57749263,"uuid":"524393411","full_name":"ilham89/vue-use-debounce-ref","owner":"ilham89","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-15T02:07:43.000Z","size":172,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T11:46:50.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ilham89.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-13T12:28:51.000Z","updated_at":"2022-08-18T05:28:13.000Z","dependencies_parsed_at":"2022-08-27T00:10:18.721Z","dependency_job_id":null,"html_url":"https://github.com/ilham89/vue-use-debounce-ref","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilham89%2Fvue-use-debounce-ref","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilham89%2Fvue-use-debounce-ref/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilham89%2Fvue-use-debounce-ref/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilham89%2Fvue-use-debounce-ref/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilham89","download_url":"https://codeload.github.com/ilham89/vue-use-debounce-ref/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241801194,"owners_count":20022383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T16:29:43.980Z","updated_at":"2026-05-30T21:31:32.202Z","avatar_url":"https://github.com/ilham89.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue Debounce Using Ref\n\n## Installation\n\n### npm\n\n```shell\nnpm i vue-use-debounce-ref\n```\n\n### yarn\n\n```shell\nyarn add vue-use-debounce-ref\n```\n\n## Usage\n\n### Vue\n\n```jsx\n\u003ctemplate\u003e\n    \u003cdiv\u003e\n        \u003clabel\u003eSearch\u003c/label\u003e\n        \u003cinput v-model=\"input\" type=\"text\" /\u003e\n        \u003cdiv\u003eValue: {{ input }}\u003c/div\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\u003cscript\u003e\nimport { watch } from 'vue'\nimport useDebouncedRef from \"vue-use-debounce-ref\";\nexport default {\n    setup() {\n        const input = useDebouncedRef('', 1000)\n\n        watch(input, newData =\u003e {\n            console.log({ newData })\n             // init an API request\n        })\n    return {\n        input,\n    }\n  },\n}\n\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filham89%2Fvue-use-debounce-ref","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filham89%2Fvue-use-debounce-ref","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filham89%2Fvue-use-debounce-ref/lists"}