npm-check-updates
npkill
npm-check-updates | npkill | |
---|---|---|
8 | 25 | |
9,713 | 8,580 | |
0.7% | 0.9% | |
8.5 | 7.5 | |
11 days ago | 8 months ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
npm-check-updates
- NPM-Check-Updates
-
How to Update NPM Packages:
I highly suggest taking a look at the documentation overall to learn more about all this package has to offer. The project is well-maintained along with a climbing weekly download rate of ~323,861 at the time of writing this article.
-
How to update npm dependencies to latest version
If you want to update all the packages to their latest available version in one go, then you can use the package npm-check-updates as follows:
-
How do you keep FE dependencies up to date?
npm-check-updates
-
How to replace webpack & babel with Vite on a legacy React Typescript project
Since you're upgrading one part of a legacy project, why not update all the other dependencies. The best way to do that is with the npm-check-updates package.
-
Yarn - How do I update each dependency in package.json to the latest version?
As per this stakoverflow thread, to update dependencies in package.json to latest versions, npm-check-updates is the Best Option for npm. However, I'm using yarn for package management. Is there an equivalent of npm-check-updates in yarn. So that, I use a single package manager to manage my dependencies.
-
How do you upgrade a Vite project?
I've been using ncu for years, literally.
-
Error cannot find module 'abbrev'
People say reinstalling NPM can fix it https://github.com/raineorshine/npm-check-updates/issues/256
npkill
-
NPkill - Let's get rid of unused node_modules
Npkill is a simple command launchable via npx that scans your disk looking for all node_modules folders, tells you how much space they occupy, and allows you to choose which ones to delete.
-
Web Crap Has Taken Control
This is simply not true. Performance here is objectively bad since the payload is quite large. Also, I would comment that the DX with Blazor is not very good overall. For all the things broken with JS UI dev these days, DX with hot module reload is quite a marvel that I wish more platforms could achieve (C# kinda has it).
My team recently did a large browser extension project and ended up using jQuery and web components. One of the younger devs made a humorous comment like "Why does this feel kinda nice?" (paraphrase).
But yes, overall, the pain is very real. A recent pass with npkll[1] freed 20+ GB of disk space....
[0] https://chrlschn.dev/blog/2023/02/react-is-the-new-ibm/
[1] https://npkill.js.org/
-
Clean Up Your node_modules with npKill ๐งนโจ
For more details, visit the npKill page on npm.
-
Ask HN: What apps have you created for your own use?
I initially created Npkill (https://npkill.js.org) for my own use because as a web developer I was always running out of disk space. When we launched it quickly became popular because it seems that not only we had that problem and today it is the most popular tool for that purpose.
Another one I launched was Pill Reminder (https://zaldih.github.io/pill-reminder/). If you are taking something for a cold or medical treatment it allows you to easily swipe and note down when you have taken your medication and lets you know when you are due to take it next.
ScrollTabs (https://github.com/zaldih/scrolltabs-extension) was born so soon after I migrated from chrome to firefox years ago and I missed being able to switch between tabs with the mouse scroll.
+ many others that I would like to prepare and make public for the future.
- Script to delete ALL Node_modules Folders in the Current Directory Recursively
-
how to manage node modules in every proj?
Just delete them after you are done, you can try https://www.npmjs.com/package/npkill
- NPKILL 0.11.1 released! Say goodbye to all those unused and heavy node_modules that take up precious space in seconds. Now faster.
- ๐ NPKILL 0.11.1 released! ๐ Say goodbye to all those unused and heavy node_modules that take up precious space in seconds. Now faster.
- Npkill โ Find and remove old and heavy node_modules folders
- Ncdu โ NCurses Disk Usage
What are some alternatives?
pnpm - Fast, disk space efficient package manager
gtop - System monitoring dashboard for terminal
yarn - The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
localtunnel - expose yourself
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
taskbook - Tasks, boards & notes for the command-line habitat