Advertisement
robertbira

Italian Translation Report: Node.js [Part 38 - 1001 words]

Sep 24th, 2018
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.96 KB | None | 0 0
  1. Process V8 profiler output generated using the V8 option
  2. Write process warnings to the given file instead of printing to. The file will be created if it does not exist, and will be appended to if it does. If an error occurs while attempting to write the warning to the file, the warning will be written to instead.
  3. Throw errors for deprecations.
  4. Specify an alternative default TLS cipher list.
  5. Requires Node.js to be built with crypto support (default).
  6. Print stack traces for deprecations.
  7. A comma separated list of categories that should be traced when trace event tracing is enabled using
  8. Template string specifying the filepath for the trace event data, it supports and
  9. Enables the collection of trace event tracing information.
  10. Prints a stack trace whenever synchronous I/O is detected after the first turn of the event loop.
  11. Print stack traces for process warnings (including deprecations).
  12. Track heap object allocations for heap snapshots.
  13. Use bundled Mozilla CA store as supplied by current Node.js version or use OpenSSL's default CA store.
  14. The default store is selectable at build-time.
  15. The bundled CA store, as supplied by Node.js, is a snapshot of Mozilla CA store that is fixed at release time.
  16. It is identical on all supported platforms.
  17. Using OpenSSL store allows for external modifications of the store.
  18. For most Linux and BSD distributions, this store is maintained by the distribution maintainers and system administrators.
  19. OpenSSL CA store location is dependent on configuration of the OpenSSL library but this can be altered at runtime using environment variables.
  20. See and
  21. Print V8 command line options.
  22. V8 options allow words to be separated by both dashes or underscores
  23. For example, is equivalent to
  24. Set V8's thread pool size which will be used to allocate background jobs.
  25. If set to then V8 will choose an appropriate size of the thread pool based on the number of online processors.
  26. If the value provided is larger than V8's maximum, then the largest value will be chosen.
  27. Automatically zero-fills all newly allocated and instances.
  28. Syntax check the script without executing.
  29. Evaluate the following argument as JavaScript.
  30. The modules which are predefined in the REPL can also be used in
  31. On Windows, using a single quote will not work correctly because it only recognizes double for quoting.
  32. In Powershell or Git bash, both and are usable.
  33. Print node command line options.
  34. The output of this option is less detailed than this document.
  35. Opens the REPL even if stdin does not appear to be a terminal.
  36. Identical to but prints the result.
  37. Preload the specified module at startup.
  38. Follows module resolution rules.
  39. may be either a path to a file, or a node module name.
  40. Print node's version.
  41. Environment Variables
  42. separated list of core modules that should print debug information.
  43. When set to colors will not be used in the REPL.
  44. When set, the well known "root" CAs (like) will be extended with the extra certificates in
  45. The file should consist of one or more trusted certificates in PEM format.
  46. A message will be emitted (once) with if the file is missing or malformed, but any errors are otherwise ignored.
  47. Note that neither the well known nor extra certificates are used when the options property is explicitly specified for a TLS or HTTPS client or server.
  48. Data path for ICU (object) data.
  49. Will extend linked-in data when compiled with small-icu support.
  50. When set to, process warnings are silenced.
  51. A space-separated list of command line options.
  52. are interpreted as if they had been specified on the command line before the actual command line (so they can be overridden).
  53. Node.js will exit with an error if an option that is not allowed in the environment is used, such as or a script file.
  54. Node options that are allowed are:
  55. V8 options that are allowed are:
  56. separated list of directories prefixed to the module search path.
  57. On Windows, this is a separated list instead.
  58. When set to, emit pending deprecation warnings.
  59. When set to, instructs the module loader to preserve symbolic links when resolving and caching modules.
  60. When set, process warnings will be emitted to the given file instead of printing to
  61. The file will be created if it does not exist, and will be appended to if it does.
  62. If an error occurs while attempting to write the warning to the file, the warning will be written to instead.
  63. This is equivalent to using the command-line flag.
  64. Path to the file used to store the persistent REPL history.
  65. The default path is, which is overridden by this variable.
  66. Setting the value to an empty string disables persistent REPL history.
  67. Load an OpenSSL configuration file on startup.
  68. Among other uses, this can be used to enable FIPS-compliant crypto if Node.js is built with
  69. If the command line option is used, the environment variable is ignored.
  70. If is enabled, this overrides and sets OpenSSL's directory containing trusted certificates.
  71. Be aware that unless the child environment is explicitly set, this environment variable will be inherited by any child processes, and if they use OpenSSL, it may cause them to trust the same CAs as node
  72. Set the number of threads used in libuv's threadpool to threads.
  73. Asynchronous system APIs are used by Node.js whenever possible, but where they do not exist, libuv's threadpool is used to create asynchronous node APIs based on synchronous system APIs.
  74. Node.js APIs that use the threadpool are:
  75. all APIs, other than the file watcher APIs and those that are explicitly synchronous
  76. unless it is used without a callback
  77. all APIs, other than those that are explicitly synchronous
  78. Because libuv's threadpool has a fixed size, it means that if for whatever reason any of these APIs takes a long time, other (seemingly unrelated) APIs that run in libuv's threadpool will experience degraded performance.
  79. In order to mitigate this issue, one potential solution is to increase the size of libuv's threadpool by setting the environment variable to a value greater than (its current default value).
  80. For more information, see the libuv threadpool documentation
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement