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.

165 lines
5.2 KiB

  1. npm(1) -- javascript package manager
  2. ====================================
  3. ## SYNOPSIS
  4. npm <command> [args]
  5. ## VERSION
  6. @VERSION@
  7. ## DESCRIPTION
  8. npm is the package manager for the Node JavaScript platform. It puts
  9. modules in place so that node can find them, and manages dependency
  10. conflicts intelligently.
  11. It is extremely configurable to support a wide variety of use cases.
  12. Most commonly, it is used to publish, discover, install, and develop node
  13. programs.
  14. Run `npm help` to get a list of available commands.
  15. ## IMPORTANT
  16. npm is configured to use npm, Inc.'s public registry at
  17. https://registry.npmjs.org by default. Use of the npm public registry is
  18. subject to terms of use available at https://www.npmjs.com/policies/terms.
  19. You can configure npm to use any compatible registry you like, and even run
  20. your own registry. Use of someone else's registry may be governed by their
  21. terms of use.
  22. ## INTRODUCTION
  23. You probably got npm because you want to install stuff.
  24. Use `npm install blerg` to install the latest version of "blerg". Check out
  25. `npm-install(1)` for more info. It can do a lot of stuff.
  26. Use the `npm search` command to show everything that's available.
  27. Use `npm ls` to show everything you've installed.
  28. ## DEPENDENCIES
  29. If a package references to another package with a git URL, npm depends
  30. on a preinstalled git.
  31. If one of the packages npm tries to install is a native node module and
  32. requires compiling of C++ Code, npm will use
  33. [node-gyp](https://github.com/TooTallNate/node-gyp) for that task.
  34. For a Unix system, [node-gyp](https://github.com/TooTallNate/node-gyp)
  35. needs Python, make and a buildchain like GCC. On Windows,
  36. Python and Microsoft Visual Studio C++ are needed. Python 3 is
  37. not supported by [node-gyp](https://github.com/TooTallNate/node-gyp).
  38. For more information visit
  39. [the node-gyp repository](https://github.com/TooTallNate/node-gyp) and
  40. the [node-gyp Wiki](https://github.com/TooTallNate/node-gyp/wiki).
  41. ## DIRECTORIES
  42. See `npm-folders(5)` to learn about where npm puts stuff.
  43. In particular, npm has two modes of operation:
  44. * global mode:
  45. npm installs packages into the install prefix at
  46. `prefix/lib/node_modules` and bins are installed in `prefix/bin`.
  47. * local mode:
  48. npm installs packages into the current project directory, which
  49. defaults to the current working directory. Packages are installed to
  50. `./node_modules`, and bins are installed to `./node_modules/.bin`.
  51. Local mode is the default. Use `-g` or `--global` on any command to
  52. operate in global mode instead.
  53. ## DEVELOPER USAGE
  54. If you're using npm to develop and publish your code, check out the
  55. following help topics:
  56. * json:
  57. Make a package.json file. See `package.json(5)`.
  58. * link:
  59. For linking your current working code into Node's path, so that you
  60. don't have to reinstall every time you make a change. Use
  61. `npm link` to do this.
  62. * install:
  63. It's a good idea to install things if you don't need the symbolic link.
  64. Especially, installing other peoples code from the registry is done via
  65. `npm install`
  66. * adduser:
  67. Create an account or log in. Credentials are stored in the
  68. user config file.
  69. * publish:
  70. Use the `npm publish` command to upload your code to the registry.
  71. ## CONFIGURATION
  72. npm is extremely configurable. It reads its configuration options from
  73. 5 places.
  74. * Command line switches:
  75. Set a config with `--key val`. All keys take a value, even if they
  76. are booleans (the config parser doesn't know what the options are at
  77. the time of parsing). If no value is provided, then the option is set
  78. to boolean `true`.
  79. * Environment Variables:
  80. Set any config by prefixing the name in an environment variable with
  81. `npm_config_`. For example, `export npm_config_key=val`.
  82. * User Configs:
  83. The file at $HOME/.npmrc is an ini-formatted list of configs. If
  84. present, it is parsed. If the `userconfig` option is set in the cli
  85. or env, then that will be used instead.
  86. * Global Configs:
  87. The file found at ../etc/npmrc (from the node executable, by default
  88. this resolves to /usr/local/etc/npmrc) will be parsed if it is found.
  89. If the `globalconfig` option is set in the cli, env, or user config,
  90. then that file is parsed instead.
  91. * Defaults:
  92. npm's default configuration options are defined in
  93. lib/utils/config-defs.js. These must not be changed.
  94. See `npm-config(7)` for much much more information.
  95. ## CONTRIBUTIONS
  96. Patches welcome!
  97. If you would like to contribute, but don't know what to work on, read
  98. the contributing guidelines and check the issues list.
  99. * [CONTRIBUTING.md](https://github.com/npm/cli/blob/latest/CONTRIBUTING.md)
  100. * [Bug tracker](https://npm.community/c/bugs)
  101. * [Support tracker](https://npm.community/c/support)
  102. ## BUGS
  103. When you find issues, please report them:
  104. * web:
  105. <https://npm.community/c/bugs>
  106. Be sure to follow the template and bug reporting guidelines. You can also ask
  107. for help in the [support forum](https://npm.community/c/support) if you're
  108. unsure if it's actually a bug or are having trouble coming up with a detailed
  109. reproduction to report.
  110. ## AUTHOR
  111. [Isaac Z. Schlueter](http://blog.izs.me/) ::
  112. [isaacs](https://github.com/isaacs/) ::
  113. [@izs](https://twitter.com/izs) ::
  114. <i@izs.me>
  115. ## SEE ALSO
  116. * npm-help(1)
  117. * README
  118. * package.json(5)
  119. * npm-install(1)
  120. * npm-config(1)
  121. * npm-config(7)
  122. * npmrc(5)
  123. * npm-index(7)