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

Detects hoisting conflicts in the dependency tree.

When multiple packages depend on different versions of the same
package, only one can be hoisted to the top level.

# `conflicts?`

```elixir
@spec conflicts?(map()) :: boolean()
```

Checks if there are any hoisting conflicts.

# `count`

```elixir
@spec count(map()) :: non_neg_integer()
```

Counts the number of hoisting conflicts.

# `find`

```elixir
@spec find(map()) :: [map()]
```

Finds packages with conflicting version requirements.

# `format_report`

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

Formats conflict report.

---

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