how to know unused npm package modules code example Example: find the unused npm modules npm-check or depcheck