Message from JavaScript discussions

July 2017

— Then it becomes a graph theory problem, one of the best fun ways to solve any problem :)


A nodejs question
I have X module in node_modules folder
How could I know which package pulled this X module?

— npm ls

— In your main project folder

— No thanks tbh

— Hahaha

— Fun ways to solve easy problems in complicated ways - An interactive guide - By Dani

— Hmm, it's print dependencies tree
A bit confusing if the tree is large

BTW, thanx

— npm ls --depth=1

— Or 0

— Or 2

— :P