elm-wrap logo elm-wrap

Display package management information.

$ wrap package info elm/html

Package: elm/html
Version: 1.0.1
Total versions: 2


Package: elm/html 1.0.1
========================================

Dependencies (3):
  elm/core           1.0.0 <= v < 2.0.0
  elm/json           1.0.0 <= v < 2.0.0
  elm/virtual-dom    1.0.0 <= v < 2.0.0

You can show information about a package's dependencies in several ways. If run from a directory without elm.json, or without a specific package in the current elm.json, it will show information about the selected package from the registry:

If the package existed in current elm.json, then the selected version information will be shown, not the latest version from the registry.

One can also ask for the specific version:

$ wrap package info elm/html@1.0.0

Package: elm/html
Version: 1.0.0
Latest version: 1.0.1
Total versions: 2


Package: elm/html 1.0.0
========================================

Dependencies (3):
  elm/core           1.0.0 <= v < 2.0.0
  elm/json           1.0.0 <= v < 2.0.0
  elm/virtual-dom    1.0.0 <= v < 2.0.0

Finally, if we supply a path to a directory with elm.json, we'll get information about that application or package:

wrap package info PATH

This is convenient when running a batch file over multiple projects to inventory used dependencies.

Helper options

-d, --deps-only shows only dependencies without registry information or available upgrades.

See also

wrap package info is synonymous with wrap info