Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
2.7 KiB

  1. npm-search(1) -- Search for packages
  2. ====================================
  3. ## SYNOPSIS
  4. npm search [-l|--long] [--json] [--parseable] [--no-description] [search terms ...]
  5. aliases: s, se, find
  6. ## DESCRIPTION
  7. Search the registry for packages matching the search terms. `npm search`
  8. performs a linear, incremental, lexically-ordered search through package
  9. metadata for all files in the registry. If color is enabled, it will further
  10. highlight the matches in the results.
  11. Additionally, using the `--searchopts` and `--searchexclude` options paired with
  12. more search terms will respectively include and exclude further patterns. The
  13. main difference between `--searchopts` and the standard search terms is that the
  14. former does not highlight results in the output and can be used for more
  15. fine-grained filtering. Additionally, both of these can be added to `.npmrc` for
  16. default search filtering behavior.
  17. Search also allows targeting of maintainers in search results, by prefixing
  18. their npm username with `=`.
  19. If a term starts with `/`, then it's interpreted as a regular expression and
  20. supports standard JavaScript RegExp syntax. A trailing `/` will be ignored in
  21. this case. (Note that many regular expression characters must be escaped or
  22. quoted in most shells.)
  23. ### A Note on caching
  24. ## CONFIGURATION
  25. ### description
  26. * Default: true
  27. * Type: Boolean
  28. Used as `--no-description`, disables search matching in package descriptions and
  29. suppresses display of that field in results.
  30. ### json
  31. * Default: false
  32. * Type: Boolean
  33. Output search results as a JSON array.
  34. ### parseable
  35. * Default: false
  36. * Type: Boolean
  37. Output search results as lines with tab-separated columns.
  38. ### long
  39. * Default: false
  40. * Type: Boolean
  41. Display full package descriptions and other long text across multiple
  42. lines. When disabled (default) search results are truncated to fit
  43. neatly on a single line. Modules with extremely long names will
  44. fall on multiple lines.
  45. ### searchopts
  46. * Default: ""
  47. * Type: String
  48. Space-separated options that are always passed to search.
  49. ### searchexclude
  50. * Default: ""
  51. * Type: String
  52. Space-separated options that limit the results from search.
  53. ### searchstaleness
  54. * Default: 900 (15 minutes)
  55. * Type: Number
  56. The age of the cache, in seconds, before another registry request is made.
  57. ### registry
  58. * Default: https://registry.npmjs.org/
  59. * Type: url
  60. Search the specified registry for modules. If you have configured npm to point
  61. to a different default registry, such as your internal private module
  62. repository, `npm search` will default to that registry when searching. Pass a
  63. different registry url such as the default above in order to override this
  64. setting.
  65. ## SEE ALSO
  66. * npm-registry(7)
  67. * npm-config(1)
  68. * npm-config(7)
  69. * npmrc(5)
  70. * npm-view(1)