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

Detects packages needing native rebuilds.

Identifies packages with install scripts, binding.gyp files,
or other indicators that they contain native addons.

# `format_results`

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

Formats scan results for display.

# `native?`

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

Checks if a specific package has native components.

# `needs_rebuild`

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

Returns the list of packages that need rebuild after Node.js upgrade.

# `scan`

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

Scans node_modules for packages with native addons.

---

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