Code Cleanup Made Easy... Remove JavaScript Exports, Files & Dependencies
HTML-код
- Опубликовано: 22 янв 2024
- One of the hardest things to keep track of it a large project is unused dependencies, exports and files. Knip helps with all of that, being able to handle a large range of project types such as monorepos, offering a more configurable experience than other tools.
Knip: knip.dev/
-----
🐦 Twitter (X): / jollyshopland
🤓 Personal Site: jamesshopland.com
💻 GitHub: github.com/jolbol1
Very good tool , I didn't know this was a thing first of all but this is awesome and I'll use it in my projects . Thanks for sharing this with us
Wow!, thank you so much for covering such a usefull tool like this.
Great tool man!
thanks man. really helpful stuff
It's really nice, especially for exported fns
what about dependencies in different git branches? wouldn't it cause problems if knip deletes package from node modules in one brach, but package is used in another?
Really cool
Here let met fix the title. "Code Cleanup Made Easy... Remove JavaScript "
Really cool indeed, reduces bundle size
VS Code What font do you use?
JetBrains mono!
I don't think it's pronounced 'nip', but 'k-nip', with the 'k' not silent, since the tool is developed by a Dutch person and 'knip' means 'cut' in Dutch.
My apologies to the creator! Hopefully won’t mind.
Bit like how pronouncing Vite always confuses my brain, luckily they have the pronunciation in their docs haha
Bart is right, but I've accepted the inevitable English pronunciation a long time ago 😊