Add New Dependencies
WebStorm can help you add a new dependency right when you need it.
To quickly add a new dependency to your project, add an import statement first, then press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux), and click Install and add to dependencies/devDependencies in package.json.