Siddharth Kshetrapal

Results 461 comments of Siddharth Kshetrapal

Sure! Just one thing to remember, when a file is deleted, you will have to go through all the files as that file is no longer available.

If you get stuck anywhere because of my code, don't hesitate to ask

`helpers.diff` will compare between the 2 arrays you pass to it. Implementing path specific logic for [`helpers.getInstalledModules`]( https://github.com/siddharthkp/auto-install/blob/master/src/index.js#L50) and `helpers.getUsedModules` both will solve this problem.

Nothing wrong with your approach, but personally I'm not a fan of storing these details in a local variable unless there is no other approach. More logic, more bugs? Would...

Yes! I've been thinking about this. What do you think about a regex that you can add to your package.json?

Do you want to take a shot at it?

Ouch! Any ideas on how to fix it?

What if I try to pass every file through the js parser, if it can't make sense of it, I just skip it. Would slow down the first parse quite...

Do you add this to peerDependencies in package.json? Can blacklist those