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

Compares two lockfile snapshots to determine what changed.

# `diff`

```elixir
@spec diff(map(), map()) :: map()
```

Computes the diff between two lockfiles.

# `format`

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

Formats a detailed diff for display.

# `identical?`

```elixir
@spec identical?(map(), map()) :: boolean()
```

Checks if two lockfiles are identical.

# `summary`

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

Returns a summary of changes.

---

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