Categorize Your Dependencies
Explains the evolving roles of dependencies and devDependencies in modern JavaScript/Node.js projects, beyond their original npm library purpose.
Anthony Fu is an open-source creator and design engineer at NuxtLabs and Vercel, known for building popular tools like Vitest, VueUse, UnoCSS, and Slidev, and for contributing to the Vue, Nuxt, and Vite ecosystems.
51 articles from this blog
Explains the evolving roles of dependencies and devDependencies in modern JavaScript/Node.js projects, beyond their original npm library purpose.
Explores the function coloring problem in programming, comparing synchronous vs. asynchronous execution and its impact on code structure.
The article argues for migrating JavaScript packages to ESM-only format, discussing ecosystem readiness, tooling support, and migration strategies.
Explores the meaning of zero-major versioning in software, challenges assumptions about production readiness, and discusses Semantic Versioning (SemVer) as a communication contract.
A guide on generating and analyzing CPU profiles for Nuxt.js applications to debug bundling performance using Node.js flags.
Discusses the challenge of funding open-source projects, highlighting the imbalance between high-profile and underlying dependencies, and proposes solutions.
Explains how Shiki Magic Move works, a library for animating code token transitions in presentations using Vue and the View Transitions API.
A technical guide on integrating TwoSlash with Shiki for enhanced TypeScript code snippets with type hints and syntax highlighting.
A guide to using GitHub-style alerts in markdown files and integrating them into websites with markdown-it plugins.
A developer details the process of creating an animated SVG logo using stroke-dasharray and stroke-dashoffset techniques.
How to configure pnpm to work with projects stored on an external disk by changing symlink behavior to copying files.
A technical guide on generating artistic QR codes using Stable Diffusion and ControlNet, covering methods, models, and troubleshooting.
A guide to refining AI-generated QR codes for better aesthetics and scannability, including a custom web tool for automation.
A tutorial on creating artistic, scannable QR codes using Stable Diffusion and ControlNet, detailing the setup and generation process.
A developer shares their methodology of 'Notification-driven Development' to efficiently manage GitHub notifications and maintain multiple projects.
A technical guide to implementing a staggered sliding enter animation for web content using CSS, inspired by a developer's portfolio.
A quick JavaScript solution for programmatically breaking text into lines at spaces with a maximum character limit.
An overview of Nuxt 3's developer experience features, including Vite integration, SSR, file-based routing, and built-in conventions.
Explores Nuxt 3's development-time SSR with Vite, detailing the challenges and solutions for fast server-side rendering during development.
A developer explains their nuanced stance on Prettier, praising its utility but detailing specific drawbacks like line-wrapping noise and opinionated formatting.