Tiny Debounce function (~10 lines) Lightweight alternative to lodash.debounce (~370 lines) Usage with Vue.js See demo and source. Alternatives https://www.npmjs.com/package/lodash.debounce https://github.com/steelbrain/debounce https://github.com/component/debounce