.TH NODE.JS "1" "2010" "" ""
.SH "NAME"
node \- Server-side JavaScript
.SH SYNOPSIS
.B node
[
.B \-v
]
[
.B \-\-debug
|
.B \-\-debug-brk
]
[
.B \-\-v8-options
]
.br
[
.B \-e
.I command
|
.I script.js
]
[
.I arguments
]
Execute without arguments to start the REPL.
.SH DESCRIPTION
Node is a set of libraries for javascript which allows
it to be used outside of the browser. It is primarily
focused on creating simple, easy to build network clients
and servers.
.SH ENVIRONMENT VARIABLES
.IP NODE_PATH
\':\'\-separated list of directories prefixed to the module search path.
.IP NODE_MODULE_CONTEXTS
If set to 1 then modules will load in their own global contexts.
.IP NODE_DISABLE_COLORS
If set to 1 then colors will not be used in the REPL.
.IP NODE_USE_UV
If set to 1 then Node will use the new libuv-based backend.
.SH V8 OPTIONS
--crankshaft (use crankshaft)
type: bool default: false
--hydrogen_filter (hydrogen use/trace filter)
type: string default:
--use_hydrogen (use generated hydrogen for compilation)
type: bool default: true
--build_lithium (use lithium chunk builder)
type: bool default: true
--alloc_lithium (use lithium register allocator)
type: bool default: true
--use_lithium (use lithium code generator)
type: bool default: true
--use_range (use hydrogen range analysis)
type: bool default: true
--eliminate_dead_phis (eliminate dead phis)
type: bool default: true
--use_gvn (use hydrogen global value numbering)
type: bool default: true
--use_peeling (use loop peeling)
type: bool default: false
--use_canonicalizing (use hydrogen instruction canonicalizing)
type: bool default: true
--use_inlining (use function inlining)
type: bool default: true
--limit_inlining (limit code size growth from inlining)
type: bool default: true
--eliminate_empty_blocks (eliminate empty blocks)
type: bool default: true
--loop_invariant_code_motion (loop invariant code motion)
type: bool default: true
--time_hydrogen (timing for hydrogen)
type: bool default: false
--trace_hydrogen (trace generated hydrogen to file)
type: bool default: false
--trace_inlining (trace inlining decisions)
type: bool default: false
--trace_alloc (trace register allocator)
type: bool default: false
--trace_range (trace range analysis)
type: bool default: false
--trace_gvn (trace global value numbering)
type: bool default: false
--trace_representation (trace representation types)
type: bool default: false
--stress_pointer_maps (pointer map for every instruction)
type: bool default: false
--stress_environments (environment for every instruction)
type: bool default: false
--deopt_every_n_times (deoptimize every n times a deopt point is passed)
type: int default: 0
--process_arguments_object (try to deal with arguments object)
type: bool default: true
--trap_on_deopt (put a break point before deoptimizing)
type: bool default: false
--deoptimize_uncommon_cases (deoptimize uncommon cases)
type: bool default: true
--polymorphic_inlining (polymorphic inlining)
type: bool default: true
--aggressive_loop_invariant_motion (aggressive motion of instructions out of loops)
type: bool default: true
--use_osr (use on-stack replacement)
type: bool default: true
--trace_osr (trace on-stack replacement)
type: bool default: false
--stress_runs (number of stress runs)
type: int default: 0
--optimize_closures (optimize closures)
type: bool default: true
--debug_code (generate extra code (assertions) for debugging)
type: bool default: false
--code_comments (emit comments in code disassembly)
type: bool default: false
--emit_branch_hints (emit branch hints)
type: bool default: false
--peephole_optimization (perform peephole optimizations in assembly code)
type: bool default: true
--print_peephole_optimization (print peephole optimizations in assembly code)
type: bool default: false
--enable_sse2 (enable use of SSE2 instructions if available)
type: bool default: true
--enable_sse3 (enable use of SSE3 instructions if available)
type: bool default: true
--enable_sse4_1 (enable use of SSE4.1 instructions if available)
type: bool default: true
--enable_cmov (enable use of CMOV instruction if available)
type: bool default: true
--enable_rdtsc (enable use of RDTSC instruction if available)
type: bool default: true
--enable_sahf (enable use of SAHF instruction if available (X64 only))
type: bool default: true
--enable_vfp3 (enable use of VFP3 instructions if available (ARM only))
type: bool default: true
--enable_armv7 (enable use of ARMv7 instructions if available (ARM only))
type: bool default: true
--expose_natives_as (expose natives in global object)
type: string default: NULL
--expose_debug_as (expose debug in global object)
type: string default: NULL
--expose_gc (expose gc extension)
type: bool default: false
--expose_externalize_string (expose externalize string extension)
type: bool default: false
--stack_trace_limit (number of stack frames to capture)
type: int default: 10
--disable_native_files (disable builtin natives files)
type: bool default: false
--inline_new (use fast inline allocation)
type: bool default: true
--stack_trace_on_abort (print a stack trace if an assertion failure occurs)
type: bool default: true
--trace (trace function calls)
type: bool default: false
--defer_negation (defer negation operation)
type: bool default: true
--mask_constants_with_cookie (use random jit cookie to mask large constants)
type: bool default: true
--lazy (use lazy compilation)
type: bool default: true
--trace_opt (trace lazy optimization)
type: bool default: false
--trace_opt_stats (trace lazy optimization statistics)
type: bool default: false
--opt (use adaptive optimizations)
type: bool default: true
--opt_eagerly (be more eager when adaptively optimizing)
type: bool default: false
--always_opt (always try to optimize functions)
type: bool default: false
--prepare_always_opt (prepare for turning on always opt)
type: bool default: false
--debug_info (add debug information to compiled functions)
type: bool default: true
--deopt (support deoptimization)
type: bool default: true
--trace_deopt (trace deoptimization)
type: bool default: false
--strict (strict error checking)
type: bool default: false
--min_preparse_length (minimum length for automatic enable preparsing)
type: int default: 1024
--full_compiler (enable dedicated backend for run-once code)
type: bool default: true
--always_full_compiler (try to use the dedicated run-once backend for all code)
type: bool default: false
--trace_bailout (print reasons for falling back to using the classic V8 backend)
type: bool default: false
--safe_int32_compiler (enable optimized side-effect-free int32 expressions.)
type: bool default: true
--use_flow_graph (perform flow-graph based optimizations)
type: bool default: false
--compilation_cache (enable compilation cache)
type: bool default: true
--loop_peeling (Peel off the first iteration of loops.)
type: bool default: false
--remote_debugging (enable remote debugging)
type: bool default: false
--trace_debug_json (trace debugging JSON request/response)
type: bool default: false
--debugger_auto_break (automatically set the debug break flag when debugger commands are in the queue)
type: bool default: true
--enable_liveedit (enable liveedit experimental feature)
type: bool default: true
--stack_size (default size of stack region v8 is allowed to use (in KkBytes))
type: int default: 1024
--max_stack_trace_source_length (maximum length of function source code printed in a stack trace.)
type: int default: 300
--always_inline_smi_code (always inline smi code in non-opt code)
type: bool default: false
--max_new_space_size (max size of the new generation (in kBytes))
type: int default: 0
--max_old_space_size (max size of the old generation (in Mbytes))
type: int default: 0
--max_executable_size (max size of executable memory (in Mbytes))
type: int default: 0
--gc_global (always perform global GCs)
type: bool default: false
--gc_interval (garbage collect after