how to check if a project is npm linked code example Example: npm global link check npm ls -g --depth=0 --link=true