I spent 1 month building my first NPM package from scratch, and here is the result
The idea for this project came up when I discovered React Doctor. I really liked their concept and thought about a way to bring this kind of auditing tool outside of the React ecosystem. That's how...

Source: DEV Community
The idea for this project came up when I discovered React Doctor. I really liked their concept and thought about a way to bring this kind of auditing tool outside of the React ecosystem. That's how I created Web Doctor. Web Doctor is a CLI tool that analyzes HTML, CSS, and JS code, looking for performance improvement opportunities, accessibility enhancements, and critical security issues. Here are some of the checks Web Doctor currently performs: Checks the actual file size and format of used images, recommending compression or modern formats (WebP/AVIF). Verifies if the <body/> contains the minimum required semantic structure (like <header/>, <nav/>, <main/>, and <footer/>). Warns about the use of deprecated tags and attributes that break accessibility. Finds empty rules in CSS. Warns about the use of !important in CSS. Identifies and alerts about dangerous JS practices, such as the use of eval(). The package is still under active development, and my goal