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

Checks compatibility of packages with a target Node.js version.

Analyzes the `engines.node` field across all packages to determine
if they are compatible with a specific Node.js version.

# `compatible?`

```elixir
@spec compatible?(map(), String.t()) :: boolean()
```

Checks if a package's engines field is compatible with a node version.

# `format_report`

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

Formats compatibility report.

# `incompatible`

```elixir
@spec incompatible([{String.t(), map()}], String.t()) :: [{String.t(), String.t()}]
```

Finds incompatible packages for a target node version.

# `summary`

```elixir
@spec summary([{String.t(), map()}], String.t()) :: map()
```

Returns compatibility summary.

---

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