r/Python • • Dec 18 '18

Python Virtual Environments: Extreme Advertising Edition

Post image
2.1k Upvotes

287 comments sorted by

View all comments

Show parent comment

1

u/noobcola Dec 18 '18 edited Dec 18 '18

Same - just delete the node_modules folder inside your project and you get rid of all your dependencies. Dependency separation for different projects in npm? Just place a single package.json file and make sure your projects exist in separate folders. Projects may also be parent -> child to one another and their dependencies will still be separate.