JS Party: JavaScript, CSS, Web Development cover image

Making "safe npm"

JS Party: JavaScript, CSS, Web Development

CHAPTER

How to Deal With MPM's Uninstall Fights

NPM was never really built to be extended. Even with these plugin systems on other package managers, we're having to go and change the hooks. So it's hard to know what hooks you actually need until you write an actual thing to use them. And a lot of the times people are using the hooks for things and they aren't respecting what users have already installed on disk. That's a big thing. We've been talking to a couple of package managers about this. They were surprised that we want to know what's already on disk. This affects your version of MPM because it can't simply say you're uninstalling. You should not ever install anything because that's actually

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner