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

Create an `npm-shrinkwrap.json` from the current `npm.lock`.

    mix npm.shrinkwrap

The shrinkwrap file locks exact versions for publishing. Unlike
`npm.lock` (which is project-only), `npm-shrinkwrap.json` is
included when the package is published to the registry.

---

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