- Master Fullstack Development and finally ship a product
3 years ago
#Webdev
I'm writing this quick tip just so I don't have to google it every single time I run out of disk space. If you have a lot of JS projects on disk, that means you have a lot of node_modules
folders taking up a bunch of space. You can easily clean them up in 2 different ways:
node_modules
foldersfind . -name "node_modules" -exec rm -rf '{}' +
Be patient because this can take a while and there won't be any progress bar or visual indication that the node_modules
are being deleted
npx npkill
. This package will give you an interactive CLI which will measure how much space the node_modules
are taking and it will let you choose which ones to delete That's it, enjoy your disk space 🎉
Thanks for reading! Subscribe to the newsletter?
How to use the src directory and absolute imports in Next.js
The saddest "Just Ship It" story ever
You're either a Zero or a One
How I tricked my brain into working out 24 times in 30 days
GitHub stars won't pay your rent
An underrated way to keep up with web development
GPT-3 is the beginning of the end
Fastest way to thoroughly uninstall apps on macOS
A better way to manage multiple monitors on macOS
From Hello World to a production app: The magic of Blitz
The best Stream Deck alternative: Make your own!
Introducing Fungarzione: The app for keeping your users in the loop
Generating social media images by screenshotting React components
Pomodoro with accountability