@@ -10,6 +10,9 @@ The objects listed here are specific to Node.js. There are a number of
10
10
also globally accessible.
11
11
12
12
## Class: Buffer
13
+ <!-- YAML
14
+ added: v0.1.103
15
+ -->
13
16
14
17
<!-- type=global -->
15
18
@@ -18,6 +21,9 @@ also globally accessible.
18
21
Used to handle binary data. See the [ buffer section] [ ] .
19
22
20
23
## \_\_ dirname
24
+ <!-- YAML
25
+ added: v0.1.27
26
+ -->
21
27
22
28
<!-- type=var -->
23
29
@@ -45,6 +51,9 @@ References to `__dirname` within `b.js` will return
45
51
will return ` /Users/mjr/app ` .
46
52
47
53
## \_\_ filename
54
+ <!-- YAML
55
+ added: v0.0.1
56
+ -->
48
57
49
58
<!-- type=var -->
50
59
@@ -65,24 +74,36 @@ console.log(__filename);
65
74
` __filename ` isn't actually a global but rather local to each module.
66
75
67
76
## clearImmediate(immediateObject)
77
+ <!-- YAML
78
+ added: v0.9.1
79
+ -->
68
80
69
81
<!-- type=global-->
70
82
71
83
[ ` clearImmediate ` ] is described in the [ timers] [ ] section.
72
84
73
85
## clearInterval(intervalObject)
86
+ <!-- YAML
87
+ added: v0.0.1
88
+ -->
74
89
75
90
<!-- type=global-->
76
91
77
92
[ ` clearInterval ` ] is described in the [ timers] [ ] section.
78
93
79
94
## clearTimeout(timeoutObject)
95
+ <!-- YAML
96
+ added: v0.0.1
97
+ -->
80
98
81
99
<!-- type=global-->
82
100
83
101
[ ` clearTimeout ` ] is described in the [ timers] [ ] section.
84
102
85
103
## console
104
+ <!-- YAML
105
+ added: v0.1.100
106
+ -->
86
107
87
108
<!-- type=global -->
88
109
@@ -91,6 +112,9 @@ console.log(__filename);
91
112
Used to print to stdout and stderr. See the [ ` console ` ] [ ] section.
92
113
93
114
## exports
115
+ <!-- YAML
116
+ added: v0.1.12
117
+ -->
94
118
95
119
<!-- type=var -->
96
120
@@ -103,6 +127,9 @@ when to use `module.exports`.
103
127
See the [ module system documentation] [ ] for more information.
104
128
105
129
## global
130
+ <!-- YAML
131
+ added: v0.1.27
132
+ -->
106
133
107
134
<!-- type=global -->
108
135
@@ -114,6 +141,9 @@ variable. In Node.js this is different. The top-level scope is not the global
114
141
scope; ` var something ` inside an Node.js module will be local to that module.
115
142
116
143
## module
144
+ <!-- YAML
145
+ added: v0.1.16
146
+ -->
117
147
118
148
<!-- type=var -->
119
149
@@ -128,6 +158,9 @@ available through `require()`.
128
158
See the [ module system documentation] [ ] for more information.
129
159
130
160
## process
161
+ <!-- YAML
162
+ added: v0.1.7
163
+ -->
131
164
132
165
<!-- type=global -->
133
166
@@ -136,6 +169,9 @@ See the [module system documentation][] for more information.
136
169
The process object. See the [ ` process ` object] [ ] section.
137
170
138
171
## require()
172
+ <!-- YAML
173
+ added: v0.1.13
174
+ -->
139
175
140
176
<!-- type=var -->
141
177
@@ -145,6 +181,9 @@ To require modules. See the [Modules][] section. `require` isn't actually a
145
181
global but rather local to each module.
146
182
147
183
### require.cache
184
+ <!-- YAML
185
+ added: v0.3.0
186
+ -->
148
187
149
188
* {Object}
150
189
@@ -154,6 +193,10 @@ this does not apply to [native addons][], for which reloading will result in an
154
193
Error.
155
194
156
195
### require.extensions
196
+ <!-- YAML
197
+ added: v0.3.0
198
+ deprecated: v0.10.6
199
+ -->
157
200
158
201
> Stability: 0 - Deprecated
159
202
@@ -178,23 +221,35 @@ away. However, it may have subtle bugs and complexities that are best
178
221
left untouched.
179
222
180
223
### require.resolve()
224
+ <!-- YAML
225
+ added: v0.3.0
226
+ -->
181
227
182
228
Use the internal ` require() ` machinery to look up the location of a module,
183
229
but rather than loading the module, just return the resolved filename.
184
230
185
231
## setImmediate(callback[ , arg] [ , ... ] )
232
+ <!-- YAML
233
+ added: v0.9.1
234
+ -->
186
235
187
236
<!-- type=global -->
188
237
189
238
[ ` setImmediate ` ] is described in the [ timers] [ ] section.
190
239
191
240
## setInterval(callback, delay[ , arg] [ , ... ] )
241
+ <!-- YAML
242
+ added: v0.0.1
243
+ -->
192
244
193
245
<!-- type=global -->
194
246
195
247
[ ` setInterval ` ] is described in the [ timers] [ ] section.
196
248
197
249
## setTimeout(callback, delay[ , arg] [ , ... ] )
250
+ <!-- YAML
251
+ added: v0.0.1
252
+ -->
198
253
199
254
<!-- type=global -->
200
255
0 commit comments