Skip to content

yarn npm tag list

list all dist-tags of a package

Terminal window
yarn npm tag list [package]

List all tags of package my-pkg :

Terminal window
yarn npm tag list my-pkg

This command will list all tags of a package from the npm registry.

If the package is not specified, Yarn will default to the current workspace.

DefinitionDescription

—json

Format the output as an NDJSON stream
private field set to true.
  • If both the -v,--verbose and --json options are set, Yarn will also return the cross-dependencies between each workspaces (useful when you wish to automatically generate Buck / Bazel rules).
DefinitionDescription

—since

Only include workspaces that have been changed since the specified ref.

-R,—recursive

Find packages via dependencies/devDependencies instead of using the workspaces field

—no-private

Exclude workspaces that have the private field set to true

-v,—verbose

Also return the cross-dependencies between workspaces

—json

Format the output as an NDJSON stream