Alex Chen
Front-end & Node.js Developer
Om
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.
Artiklar av Alex Chen
Formatera JSON i JavaScript med JSON.stringify(data, null, 2). Täcker replacer, BigInt, Date, Node.js-filer, CLI och fast-json-stringify.
Base64-avkodning i JavaScript: atob(), Buffer.from(), URL-säker Base64, JWT, strömmar och 4 vanliga misstag — exempel för Node.js och webbläsare.
Koda URL:er i JavaScript med encodeURIComponent(), encodeURI() och URLSearchParams. Praktiska exempel, vanliga fel, CLI och metodjämförelse. Node.js 10+.
Avkoda URL:er i JavaScript: decodeURIComponent(), decodeURI() och URLSearchParams jämförda — med praktiska exempel, CLI-användning och vanliga misstag.
Base64-kodning i JavaScript: btoa() och Buffer.from() för webbläsare och Node.js, Unicode-hantering, URL-säker variant och vanliga misstag.