Created
April 18, 2011 04:05
-
-
Save jed/924795 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Object.keys(global) | |
[ 'global', | |
'process', | |
'GLOBAL', | |
'root', | |
'Buffer', | |
'setTimeout', | |
'setInterval', | |
'clearTimeout', | |
'clearInterval', | |
'console', | |
'module', | |
'require' ] | |
> process | |
(node) Use process.env instead of process.ENV | |
{ title: 'node', | |
version: 'v0.4.6', | |
installPrefix: '/usr/local/Cellar/node/0.4.6', | |
versions: | |
{ node: '0.4.6', | |
v8: '3.1.8.10', | |
ares: '1.7.4', | |
ev: '4.4', | |
openssl: '0.9.8l' }, | |
platform: 'darwin', | |
ARGV: [ 'node' ], | |
argv: [ 'node' ], | |
env: | |
{ TERM_PROGRAM: 'iTerm.app', | |
TERM: 'xterm', | |
SHELL: '/bin/bash', | |
TMPDIR: '/var/folders/1i/1im34F-2FS4elXlW2mjbq++++TI/-Tmp-/', | |
Apple_PubSub_Socket_Render: '/tmp/launch-UlkVZF/Render', | |
'com.apple.java.jvmTask': 'Applets', | |
USER: 'jed', | |
COMMAND_MODE: 'unix2003', | |
EC2_HOME: '/Users/jed/.ec2', | |
SSH_AUTH_SOCK: '/tmp/launch-hs0jy4/Listeners', | |
__CF_USER_TEXT_ENCODING: '0x1F5:0:0', | |
PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/jed/.ec2/bin', | |
DESTINATION: '/var/folders/1i/1im34F-2FS4elXlW2mjbq++++TI/-Tmp-/iTerm 0.20.20110301 Update', | |
PWD: '/Users/jed', | |
JAVA_HOME: '/System/Library/Frameworks/JavaVM.framework/Home/', | |
LANG: 'en_US.UTF-8', | |
SHLVL: '1', | |
COLORFGBG: '7;0', | |
HOME: '/Users/jed', | |
'COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/JED/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET': '/tmp/launch-WVXX8u/ServiceProcessSocket', | |
LOGNAME: 'jed', | |
EC2_PRIVATE_KEY: 'pk-3MD6VVBLYULBWX6CC2IJQAH62GZLRTNY.pem', | |
DISPLAY: '/tmp/launch-e9VBnn/org.x:0', | |
SECURITYSESSIONID: '23336b', | |
EC2_CERT: 'cert-3MD6VVBLYULBWX6CC2IJQAH62GZLRTNY.pem', | |
_: '/usr/local/bin/node' }, | |
ENV: | |
{ TERM_PROGRAM: 'iTerm.app', | |
TERM: 'xterm', | |
SHELL: '/bin/bash', | |
TMPDIR: '/var/folders/1i/1im34F-2FS4elXlW2mjbq++++TI/-Tmp-/', | |
Apple_PubSub_Socket_Render: '/tmp/launch-UlkVZF/Render', | |
'com.apple.java.jvmTask': 'Applets', | |
USER: 'jed', | |
COMMAND_MODE: 'unix2003', | |
EC2_HOME: '/Users/jed/.ec2', | |
SSH_AUTH_SOCK: '/tmp/launch-hs0jy4/Listeners', | |
__CF_USER_TEXT_ENCODING: '0x1F5:0:0', | |
PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/jed/.ec2/bin', | |
DESTINATION: '/var/folders/1i/1im34F-2FS4elXlW2mjbq++++TI/-Tmp-/iTerm 0.20.20110301 Update', | |
PWD: '/Users/jed', | |
JAVA_HOME: '/System/Library/Frameworks/JavaVM.framework/Home/', | |
LANG: 'en_US.UTF-8', | |
SHLVL: '1', | |
COLORFGBG: '7;0', | |
HOME: '/Users/jed', | |
'COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/JED/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET': '/tmp/launch-WVXX8u/ServiceProcessSocket', | |
LOGNAME: 'jed', | |
EC2_PRIVATE_KEY: 'pk-3MD6VVBLYULBWX6CC2IJQAH62GZLRTNY.pem', | |
DISPLAY: '/tmp/launch-e9VBnn/org.x:0', | |
SECURITYSESSIONID: '23336b', | |
EC2_CERT: 'cert-3MD6VVBLYULBWX6CC2IJQAH62GZLRTNY.pem', | |
_: '/usr/local/bin/node' }, | |
pid: 21347, | |
execPath: '/usr/local/Cellar/node/0.4.6/bin/node', | |
compile: [Function], | |
_needTickCallback: [Function], | |
reallyExit: [Function], | |
chdir: [Function], | |
cwd: [Function], | |
getuid: [Function], | |
setuid: [Function], | |
setgid: [Function], | |
getgid: [Function], | |
umask: [Function], | |
dlopen: [Function], | |
_kill: [Function], | |
memoryUsage: [Function], | |
binding: [Function], | |
EventEmitter: [Function: EventEmitter], | |
assert: [Function], | |
_tickCallback: [Function], | |
nextTick: [Function], | |
stdout: | |
{ bufferSize: 0, | |
fd: 1, | |
type: null, | |
allowHalfOpen: false, | |
_readWatcher: null, | |
destroyed: false, | |
readable: false, | |
_writeQueue: [], | |
_writeQueueEncoding: [], | |
_writeQueueFD: [], | |
_writeQueueCallbacks: [], | |
_writeWatcher: { socket: [Circular], callback: [Function: onWritable] }, | |
writable: true, | |
_writeImpl: [Function], | |
_readImpl: [Function], | |
_shutdownImpl: [Function] }, | |
stderr: | |
{ writable: true, | |
readable: false, | |
write: [Function], | |
destroySoon: [Function], | |
destroy: [Function], | |
end: [Function] }, | |
stdin: | |
{ bufferSize: 0, | |
fd: 0, | |
type: null, | |
allowHalfOpen: false, | |
_readWatcher: { socket: [Circular], callback: [Function: onReadable] }, | |
destroyed: false, | |
readable: true, | |
_writeQueue: [], | |
_writeQueueEncoding: [], | |
_writeQueueFD: [], | |
_writeQueueCallbacks: [], | |
_writeWatcher: null, | |
writable: false, | |
_writeImpl: [Function], | |
_readImpl: [Function], | |
_shutdownImpl: [Function], | |
_events: | |
{ keypress: [Object], | |
newListener: [Function: onNewListener], | |
data: [Function: onData] } }, | |
openStdin: [Function], | |
exit: [Function], | |
kill: [Function], | |
addListener: [Function], | |
on: [Function], | |
removeListener: [Function], | |
debug: [Function], | |
error: [Function], | |
watchFile: [Function], | |
unwatchFile: [Function], | |
mixin: [Function], | |
createChildProcess: [Function], | |
inherits: [Function], | |
_byteLength: [Function], | |
_events: { SIGWINCH: [ [Function] ] } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment