Skip to content

Conversation

@Sreyasiv
Copy link
Contributor

  • The page(s) are in the correct platform directories: common, linux, osx, windows, sunos, android, etc.
  • The page description(s) have links to documentation or a homepage.
  • The page(s) follow the content guidelines.
  • The page(s) follow the style guide.
  • The PR contains at most 5 new pages.
  • The PR title conforms to the recommended templates.

Version of the command being documented (if known): Latest

@github-actions github-actions bot added new command Issues requesting creation of a new page or PRs adding a new page for a command. review needed Prioritized PRs marked for reviews from maintainers. labels Oct 27, 2025
@tldr-bot
Copy link

The build for this PR failed with the following error(s) at commit
cf340922183e8c6bc58c5ad892653473d5801d1f:

pages/common/npm-pkg.md:36:43 MD047/single-trailing-newline Files should end with a single newline character
pages/common/npm-pkg.md:1: TLDR009 Page should contain a newline at end of file

Please fix the error(s) and push again.

Copy link
Member

@sebastiaanspeck sebastiaanspeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please read the style guide why and when we put text in {{...}}.

Updated npm command examples for setting properties.
@Sreyasiv
Copy link
Contributor Author

Done with the changes @sebastiaanspeck,
Thank you for letting me know.
Let me know if there is something else.


- Get the value of a specific property:

`npm {{pkg}} get {{name}}`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you put pkg as placeholder?

Copy link
Contributor Author

@Sreyasiv Sreyasiv Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I initialy got confused by the other few files i saw in open PRs, thanks for catching that.

Updated npm command syntax to use 'npm pkg' instead of 'npm {{pkg}}'.
@sebastiaanspeck sebastiaanspeck mentioned this pull request Oct 27, 2025
67 tasks
Sreyasiv and others added 2 commits October 27, 2025 12:09
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Comment on lines 34 to 36
- Get multiple values across all workspaces:

`npm pkg get {{name}} {{version}} --ws`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this after the nested get example.

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new command Issues requesting creation of a new page or PRs adding a new page for a command. review needed Prioritized PRs marked for reviews from maintainers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants