Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a note about the details returned by the command #111

Closed
wants to merge 1 commit into from

Conversation

fharper
Copy link
Contributor

@fharper fharper commented Dec 6, 2018

No description provided.

@fharper fharper requested a review from a team as a code owner December 6, 2018 16:59
@zkat zkat added the docs label Dec 6, 2018
Copy link
Contributor

@zkat zkat left a comment

Choose a reason for hiding this comment

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

Heya, thanks for the patch. The new npm-registry-fetch branch includes patches to ping that make the JSON output consistently look like this:

{
  "registry": "https://registry.npmjs.org/",
  "time": 250,
  "details": {}
}

Additionally, the default output is something like this:

➜ npm ping
npm notice PING https://registry.npmjs.org/
npm notice PONG 0.417ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants