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

Formats installed npm packages for display, similar to `mix deps`.

# `format_diff`

```elixir
@spec format_diff(map(), map()) :: String.t()
```

Formats a lockfile diff (added, removed, updated packages).

# `format_lockfile`

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

Formats a lockfile as a `mix deps`-style listing.

Each entry shows: `* name version (npm registry)`
with locked version and status on the next line.

# `format_summary`

```elixir
@spec format_summary(non_neg_integer(), non_neg_integer()) :: String.t()
```

Formats install summary with timing.

# `print`

```elixir
@spec print(map()) :: :ok
```

Prints the lockfile listing to the Mix shell.

---

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