Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created November 22, 2015 08:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save chuck0523/78217ec5457d62bcce4a to your computer and use it in GitHub Desktop.
{ _sawReturn: true,
domain: null,
_events: { close: [ [Object], [Function] ], line: [Function] },
_maxListeners: 10,
output:
{ _connecting: false,
_handle:
{ fd: 1,
writeQueueSize: 0,
owner: [Circular],
onread: [Function: onread] },
_readableState:
{ highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: false,
endEmitted: false,
reading: false,
calledRead: false,
sync: true,
needReadable: false,
emittedReadable: false,
readableListening: false,
objectMode: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
readable: false,
domain: null,
_events:
{ end: [Object],
finish: [Function: onSocketFinish],
_socketEnd: [Function: onSocketEnd],
resize: [Function: onresize] },
_maxListeners: 10,
_writableState:
{ highWaterMark: 16384,
objectMode: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
sync: false,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
buffer: [] },
writable: true,
allowHalfOpen: false,
onend: null,
destroyed: false,
errorEmitted: false,
bytesRead: 0,
_bytesDispatched: 3,
_pendingData: null,
_pendingEncoding: '',
columns: 80,
rows: 25,
_type: 'tty',
fd: 1,
_isStdio: true,
destroySoon: [Function],
destroy: [Function] },
input:
{ _connecting: false,
_handle:
{ fd: 0,
writeQueueSize: 0,
owner: [Circular],
onread: [Function: onread],
reading: true },
_readableState:
{ highWaterMark: 0,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: false,
endEmitted: false,
reading: true,
calledRead: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
objectMode: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
readable: true,
domain: null,
_events:
{ end: [Object],
finish: [Function: onSocketFinish],
_socketEnd: [Function: onSocketEnd],
pause: [Function],
data: [Function: onData],
readable: [Function],
keypress: [Function: onkeypress] },
_maxListeners: 10,
_writableState:
{ highWaterMark: 0,
objectMode: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
sync: true,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
buffer: [] },
writable: false,
allowHalfOpen: false,
onend: null,
destroyed: false,
errorEmitted: false,
bytesRead: 2,
_bytesDispatched: 0,
_pendingData: null,
_pendingEncoding: '',
isRaw: true,
isTTY: true,
fd: 0,
_keypressDecoder:
{ encoding: 'utf8',
surrogateSize: 3,
charBuffer: <Buffer e0 48 02 02 01 00>,
charReceived: 0,
charLength: 0 },
pipe: [Function],
addListener: [Function],
on: [Function],
pause: [Function],
resume: [Function],
read: [Function],
_consuming: true },
completer: [Function],
_prompt: '> ',
_promptLength: 2,
terminal: true,
line: '',
cursor: 0,
history: [ 'a' ],
historyIndex: -1,
prevRows: 0 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment