未使用のモジュールの削除


node_modulesディレクトリからpackage.jsonに記載のない未使用のモジュールを削除するにはpruneコマンドを使用します。

$ npm prune