# `NPM.Diagnostics.Health`
[🔗](https://github.com/elixir-volt/npm_ex/blob/v0.7.4/lib/npm/diagnostics/health.ex#L1)

Comprehensive project health scoring.

Evaluates multiple dimensions of npm project health and
produces an overall score with actionable recommendations.

# `format_report`

```elixir
@spec format_report(map()) :: String.t()
```

Formats the health report.

# `grade`

```elixir
@spec grade(non_neg_integer()) :: String.t()
```

Returns a grade based on the score.

# `recommendations`

```elixir
@spec recommendations(map()) :: [String.t()]
```

Returns recommendations based on checks.

# `score`

```elixir
@spec score(map()) :: %{score: non_neg_integer(), details: map()}
```

Computes a health score (0-100) for a project.

---

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