how to check which npm packages are not used code example Example: find the unused npm modules npm-check or depcheck