TLDR
Depcheck is a tool for analyzing the dependencies in a project to see how each dependency is used, and which dependencies are missing from package.
Depcheck not only recognizes dependencies in JavaScript files, but also supports these syntaxes.
To get the syntax support by external dependency, please install the corresponding package explicitly.