Alex Chen
Front-end & Node.js Developer
نبذة
Alex is a front-end and Node.js developer with extensive experience building web applications and developer tooling. He is passionate about web standards, browser APIs, and the JavaScript ecosystem. In his spare time he contributes to open-source projects and writes about modern JavaScript patterns, performance optimisation, and everything related to the web platform.
مقالات Alex Chen
تنسيق JSON في JavaScript باستخدام JSON.stringify(data, null, 2). يغطي replacer وBigInt وDate وملفات Node.js وCLI وfast-json-stringify. لا يتطلب تثبيتاً.
دليل شامل لفك ترميز Base64 في JavaScript: atob()، Buffer.from()، TextDecoder، JWT، وملفات Base64 — مع أمثلة جاهزة للإنتاج وأخطاء شائعة.
ترميز URL في JavaScript: encodeURIComponent وencodeURI وURLSearchParams، مع مرجع الأحرف وأنماط Fetch وإصلاح أربعة أخطاء شائعة.
تعرّف على الفرق بين decodeURIComponent() و decodeURI()، واستخدام URLSearchParams، والتعامل مع الترميز المعطوب — كل ما تحتاجه مع أمثلة عملية بـ JavaScript.
تشفير Base64 في JavaScript: btoa() وBuffer.from() وBase64 الآمن للروابط. معالجة Unicode والملفات الكبيرة والأخطاء الشائعة مع أمثلة للإنتاج.