npm-repo.1 773 B

1234567891011121314151617181920212223242526272829303132333435
  1. .TH "NPM\-REPO" "1" "August 2021" "" ""
  2. .SH "NAME"
  3. \fBnpm-repo\fR \- Open package repository page in the browser
  4. .SS Synopsis
  5. .P
  6. .RS 2
  7. .nf
  8. npm repo [<pkg>]
  9. .fi
  10. .RE
  11. .SS Description
  12. .P
  13. This command tries to guess at the likely location of a package's
  14. repository URL, and then tries to open it using the \fB\-\-browser\fP
  15. config param\. If no package name is provided, it will search for
  16. a \fBpackage\.json\fP in the current folder and use the \fBname\fP property\.
  17. .SS Configuration
  18. .SS browser
  19. .RS 0
  20. .IP \(bu 2
  21. Default: OS X: \fB"open"\fP, Windows: \fB"start"\fP, Others: \fB"xdg\-open"\fP
  22. .IP \(bu 2
  23. Type: String
  24. .RE
  25. .P
  26. The browser that is called by the \fBnpm repo\fP command to open websites\.
  27. .SS See Also
  28. .RS 0
  29. .IP \(bu 2
  30. npm help docs
  31. .IP \(bu 2
  32. npm help config
  33. .RE