# `Npm.Scanner`
[🔗](https://github.com/gtri/lowendinsight/blob/main/lib/npm/npm_scanner.ex#L5)

Scanner scans for node dependencies to run analysis on.

# `query_npm`

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.

# `scan`

scan: called when node? is false, returning an empty list and 0

# `scan`

scan: takes in a path to node dependencies and returns the
dependencies mapped to their analysis and the number of dependencies

---

*Consult [api-reference.md](api-reference.md) for complete listing*
