Skip to content

Commit

Permalink
docs: update npm-ls.md (#5218)
Browse files Browse the repository at this point in the history
  • Loading branch information
MapleCCC committed Jul 27, 2022
1 parent f9abee7 commit 77bf2e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/commands/npm-ls.md
Expand Up @@ -44,7 +44,7 @@ npm@@VERSION@ /path/to/npm
It will print out extraneous, missing, and invalid packages.

If a project specifies git urls for dependencies these are shown
in parentheses after the name@version to make it easier for users to
in parentheses after the `name@version` to make it easier for users to
recognize potential forks of a project.

The tree shown is the logical dependency tree, based on package
Expand All @@ -62,7 +62,7 @@ disk would be roughly identical.
With the advent of automatic install-time deduplication of dependencies in
npm v3, the `ls` output was modified to display the logical dependency
graph as a tree structure, since this was more useful to most users.
However, without using `npm ls -l`, it became impossible show _where_ a
However, without using `npm ls -l`, it became impossible to show _where_ a
package was actually installed much of the time!

With the advent of automatic installation of `peerDependencies` in npm v7,
Expand Down

0 comments on commit 77bf2e1

Please sign in to comment.