check unused npm packages by yarn code example Example: find the unused npm modules npm-check or depcheck