Knip: An Automated Tool For Finding Unused Files, Exports, And Dependencies

Most of the projects have at least a few unused files, exports, and dependencies lying around, often because it’s difficult knowing when one thing relies on another and scary removing something you’re not sure is in use. Lars Kappert shares a tool he’s been working on that offers a solution. https://smashingmagazine.com/2023/08/knip-automated-tool-find-unused-files-exports-dependencies/

Created 2y | Aug 14, 2023, 3:30:06 PM


Login to add comment

Other posts in this group

Can Good UX Protect Older Users From Digital Scams?

As online scams become more sophisticated, Carrie Webster explores whether good UX can serve as a frontline defense, particularly for non-tech-savvy older users navigating today’s digital world. https

Jun 25, 2025, 3:10:05 PM | Smashing magazine
Decoding The SVG <code>path</code> Element: Curve And Arc Commands

On her quest to teach you how to code vectors by hand, Myriam Frisano’s second installment of a path deep dive explores the most complex aspects of SVG’s most powerful element. She’ll help you under

Jun 23, 2025, 12:10:03 PM | Smashing magazine
CSS Cascade Layers Vs. BEM Vs. Utility Classes: Specificity Control

CSS can be unpredictable — and specificity is often the culprit. Victor Ayomipo breaks down how and why your styles might not behave as expected, and why understanding specificity is better than relyi

Jun 19, 2025, 3:20:07 PM | Smashing magazine
Meet Accessible UX Research, A Brand-New Smashing Book

Meet “Accessible UX Research,” our upcoming book to make your UX research inclusive. Learn how to recruit, plan, and design with disabled participants in mind. Print shipping in August 2025. e

Jun 18, 2025, 6:30:03 PM | Smashing magazine
What I Wish Someone Told Me When I Was Getting Into ARIA

Accessible Rich Internet Applications (ARIA) is an inevitability when working on web accessibility. That said, it’s everyone’s first time learning

Jun 16, 2025, 8:10:05 PM | Smashing magazine
Creating The “Moving Highlight” Navigation Bar With JavaScript And CSS

In this tutorial, Blake Lundquist walks us through two methods of creating the “moving-highlight” navigation pattern using only plain JavaScript and CSS. The first technique uses the `getBoundingClien

Jun 12, 2025, 12:10:06 AM | Smashing magazine
Decoding The SVG <code>path</code> Element: Line Commands

SVG is easy — until you meet path. However, it’s not as confusing as it initially looks. In this first installment of a pair of articles, Myriam Frisano aims to teach you the basics of <path> and

Jun 9, 2025, 2:10:16 PM | Smashing magazine