Npm.Scanner.query_npm

You're seeing just the function query_npm, go back to Npm.Scanner module for more information.

Specs

query_npm(String.t()) :: {:ok, map()} | String.t()

query_npm: function that takes in a package and returns an analysis on that package's repository using analyser_module. If the package url cannot be reached, an error is returned.