Appaflytech
Hakkımızda
Hizmetler
Danışmanlık
Projelerimiz
Blog
Wappa
Araçlar
🇹🇷 TR
İletişime Geçin
Web Araçları
İstemci Taraflı
JS Minify / Beautify
JavaScript kodunu anında sıkıştır veya okunabilir formata getir.
Beautify
Minify
Güzelleştir
Girdi JS
Temizle
// Utility: debounce function function debounce(fn, delay = 300) { let timer; return function (...args) { clearTimeout(timer); timer = setTimeout(() => { fn.apply(this, args); }, delay); }; } // Fetch wrapper with error handling async function fetchJSON(url, options = {}) { const response = await fetch(url, { headers: { 'Content-Type': 'application/json' }, ...options, }); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } return response.json(); }
529 karakter
Çıktı