FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node/lib/sys.js at writev2 · bmehanni/node · GitHub
bmehanni
node
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
node
/
lib
/
sys.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (17 loc) · 483 Bytes
Breadcrumbs
node
/
lib
/
sys.js
Copy path
File metadata and controls
19 lines (17 loc) · 483 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
var
util
=
require
(
"util"
)
;
var
sysWarning
;
if
(
!
sysWarning
)
{
sysWarning
=
"The 'sys' module is now called 'util'. It should have a similar interface."
;
// Uncomment in 2011
//util.error(sysWarning);
}
exports
.
print
=
util
.
print
;
exports
.
puts
=
util
.
puts
;
exports
.
debug
=
util
.
debug
;
exports
.
error
=
util
.
error
;
exports
.
inspect
=
util
.
inspect
;
exports
.
p
=
util
.
p
;
exports
.
log
=
util
.
log
;
exports
.
exec
=
util
.
exec
;
exports
.
pump
=
util
.
pump
;
exports
.
inherits
=
util
.
inherits
;
Back
|
FazBrowse Home
|
New Git URL