Recently I’ve been working on frontend security hardening and dove deep into JS code obfuscation. Turns out it’s way more than “rename variables to…
Posts for: #Format
JavaScript Formatter Implementation: From String Parsing to AST Beautification
Author: JsonKit Team
Building an IP Address Query Tool: From API Calls to Geolocation Implementation
When developing web applications, you often need to get users’ IP addresses and geolocation information—for analytics, content delivery, fraud dete…
ICO File Format Demystified: Building a PNG to ICO Converter from Scratch
I recently needed to add favicon generation to a project. Thought I could just rename a PNG to .ico and call it a day. Nope. ICO is a proper binary…
HTML Formatter Implementation: From String Parsing to Indentation Reconstruction
Tool link: https://jsokit.com/tools/html-format
Building a Conventional Commits Generator: Stop Writing Bad Git Messages
We’ve all been there. You run git log on a project and see messages like “fix”, “update”, or the infamous “asdf”. Six months later, you have no i…
Building a GIF Maker from Scratch: LZW Compression and Median Cut Color Quantization
Written: 2026-04-30 12:39
Color Format Conversion: Implementation of HEX, RGB, and HSL
As a frontend developer, color format conversion is routine work. Designers give you HEX from Figma, you want HSL for CSS variables, and Canvas nee…
From Regex to AST: Building a Code Formatter
Dealing with minified legacy code is painful. While Prettier is powerful, sometimes you just want to quickly format a snippet without configuring r…
From Manual Maintenance to Automation: Building a Keep a Changelog Generator
Recently took over a legacy project. Checking the Git history, I found every release was just git log --oneline > CHANGELOG.md. The result? A CHA…