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.

92 lines
5.7 KiB

  1. <!doctype html>
  2. <html>
  3. <title>npm-profile</title>
  4. <meta charset="utf-8">
  5. <link rel="stylesheet" type="text/css" href="../../static/style.css">
  6. <link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-profile.html">
  7. <script async=true src="../../static/toc.js"></script>
  8. <body>
  9. <div id="wrapper">
  10. <h1><a href="../cli/npm-profile.html">npm-profile</a></h1> <p>Change settings on your registry profile</p>
  11. <h2 id="synopsis">SYNOPSIS</h2>
  12. <pre><code>npm profile get [--json|--parseable] [&lt;property&gt;]
  13. npm profile set [--json|--parseable] &lt;property&gt; &lt;value&gt;
  14. npm profile set password
  15. npm profile enable-2fa [auth-and-writes|auth-only]
  16. npm profile disable-2fa</code></pre><h2 id="description">DESCRIPTION</h2>
  17. <p>Change your profile information on the registry. This not be available if
  18. you&#39;re using a non-npmjs registry.</p>
  19. <ul>
  20. <li><code>npm profile get [&lt;property&gt;]</code>:
  21. Display all of the properties of your profile, or one or more specific
  22. properties. It looks like:</li>
  23. </ul>
  24. <pre><code>+-----------------+---------------------------+
  25. | name | example |
  26. +-----------------+---------------------------+
  27. | email | me@example.com (verified) |
  28. +-----------------+---------------------------+
  29. | two factor auth | auth-and-writes |
  30. +-----------------+---------------------------+
  31. | fullname | Example User |
  32. +-----------------+---------------------------+
  33. | homepage | |
  34. +-----------------+---------------------------+
  35. | freenode | |
  36. +-----------------+---------------------------+
  37. | twitter | |
  38. +-----------------+---------------------------+
  39. | github | |
  40. +-----------------+---------------------------+
  41. | created | 2015-02-26T01:38:35.892Z |
  42. +-----------------+---------------------------+
  43. | updated | 2017-10-02T21:29:45.922Z |
  44. +-----------------+---------------------------+</code></pre><ul>
  45. <li><p><code>npm profile set &lt;property&gt; &lt;value&gt;</code>:
  46. Set the value of a profile property. You can set the following properties this way:
  47. email, fullname, homepage, freenode, twitter, github</p>
  48. </li>
  49. <li><p><code>npm profile set password</code>:
  50. Change your password. This is interactive, you&#39;ll be prompted for your
  51. current password and a new password. You&#39;ll also be prompted for an OTP
  52. if you have two-factor authentication enabled.</p>
  53. </li>
  54. <li><p><code>npm profile enable-2fa [auth-and-writes|auth-only]</code>:
  55. Enables two-factor authentication. Defaults to <code>auth-and-writes</code> mode. Modes are:</p>
  56. <ul>
  57. <li><code>auth-only</code>: Require an OTP when logging in or making changes to your
  58. account&#39;s authentication. The OTP will be required on both the website
  59. and the command line.</li>
  60. <li><code>auth-and-writes</code>: Requires an OTP at all the times <code>auth-only</code> does, and also requires one when
  61. publishing a module, setting the <code>latest</code> dist-tag, or changing access
  62. via <code>npm access</code> and <code>npm owner</code>.</li>
  63. </ul>
  64. </li>
  65. <li><p><code>npm profile disable-2fa</code>:
  66. Disables two-factor authentication.</p>
  67. </li>
  68. </ul>
  69. <h2 id="details">DETAILS</h2>
  70. <p>All of the <code>npm profile</code> subcommands accept <code>--json</code> and <code>--parseable</code> and
  71. will tailor their output based on those. Some of these commands may not be
  72. available on non npmjs.com registries.</p>
  73. <h2 id="see-also">SEE ALSO</h2>
  74. <ul>
  75. <li><a href="../misc/npm-config.html">npm-config(7)</a></li>
  76. </ul>
  77. </div>
  78. <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
  79. <tr><td style="width:180px;height:10px;background:rgb(237,127,127)" colspan=18>&nbsp;</td></tr>
  80. <tr><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td colspan=6 style="width:60px;height:10px;background:#fff">&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td></tr>
  81. <tr><td colspan=2 style="width:20px;height:30px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=4 colspan=2>&nbsp;</td><td style="width:10px;height:20px;background:rgb(237,127,127)" rowspan=2>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=3 colspan=2>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td></tr>
  82. <tr><td style="width:10px;height:10px;background:#fff" rowspan=2>&nbsp;</td></tr>
  83. <tr><td style="width:10px;height:10px;background:#fff">&nbsp;</td></tr>
  84. <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
  85. <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
  86. </table>
  87. <p id="footer">npm-profile &mdash; npm@6.4.1</p>