Returns the current working directory of the process\.
.RE
.SS"Global Variables"
.PP
ARGV
.RS4
An array containing the command line arguments\.
.RE
.PP
ENV
.RS4
An object containing the user environment\. See environ(7)\.
.RE
.PP
__filename
.RS4
The filename of the script being executed\.
.RE
.PP
process
.RS4
A special global object\. The
process
object is like the
window
object of browser\-side javascript\.
.RE
.SS"Events"
.SS"Events"
Many objects in Node emit events: a TCP server emits an event each time there is a connection, a child process emits an event when it exits\. All objects which emit events are are instances of node\.EventEmitter\.
Many objects in Node emit events: a TCP server emits an event each time there is a connection, a child process emits an event when it exits\. All objects which emit events are are instances of node\.EventEmitter\.
.sp
.sp
@ -153,7 +147,7 @@ All EventEmitters emit the event "newListener" when new listeners are added\.
.sp
.sp
.TS
.TS
allbox tab(:);
allbox tab(:);
ltB ltB ltB.
ltB ltB ltBx.
T{
T{
Event
Event
T}:T{
T}:T{
@ -209,7 +203,7 @@ node\.Promise inherits from node\.eventEmitter\. A promise emits one of two even
.sp
.sp
.TS
.TS
allbox tab(:);
allbox tab(:);
ltB ltB ltB.
ltB ltB ltBx.
T{
T{
Event
Event
T}:T{
T}:T{
@ -308,7 +302,7 @@ Standard I/O is handled through a special object node\.stdio\. stdout and stdin
.sp
.sp
.TS
.TS
allbox tab(:);
allbox tab(:);
ltB ltB ltB.
ltB ltB ltBx.
T{
T{
Event
Event
T}:T{
T}:T{
@ -494,7 +488,7 @@ node.ChildProcess
.RS
.RS
.TS
.TS
allbox tab(:);
allbox tab(:);
ltB ltB ltB.
ltB ltB ltBx.
T{
T{
Event
Event
T}:T{
T}:T{
@ -850,7 +844,7 @@ node.http.Server
.RS
.RS
.TS
.TS
allbox tab(:);
allbox tab(:);
ltB ltB ltB.
ltB ltB ltBx.
T{
T{
Event
Event
T}:T{
T}:T{
@ -934,7 +928,7 @@ This object is created internally by a HTTP server\(emnot by the user\(emand pas
.sp
.sp
.TS
.TS
allbox tab(:);
allbox tab(:);
ltB ltB ltB.
ltB ltB ltBx.
T{
T{
Event
Event
T}:T{
T}:T{
@ -1191,7 +1185,7 @@ This object is created internally and returned from the request methods of a nod
.sp
.sp
.TS
.TS
allbox tab(:);
allbox tab(:);
ltB ltB ltB.
ltB ltB ltBx.
T{
T{
Event
Event
T}:T{
T}:T{
@ -1289,7 +1283,7 @@ This object is created internally and passed to the "response" event\.