Easy debouncing with Svelte use: directive. <input use:debounce={(v) => console.log('debounced value: ', v)}/>