api documentation for npmlog (v4.0.2)

logger for npm

table of contents

  1. module npmlog
    1. boolean npmlog.progressEnabled
    2. function npmlog._format (msg, style)
    3. function npmlog.addLevel (lvl, n, style, disp)
    4. function npmlog.clearProgress (cb)
    5. function npmlog.disableColor ()
    6. function npmlog.disableProgress ()
    7. function npmlog.disableUnicode ()
    8. function npmlog.emitLog (m)
    9. function npmlog.enableColor ()
    10. function npmlog.enableProgress ()
    11. function npmlog.enableUnicode ()
    12. function npmlog.error ()
    13. function npmlog.gauge._themes (opts)
    14. function npmlog.http ()
    15. function npmlog.info ()
    16. function npmlog.log ()
    17. function npmlog.newGroup ()
    18. function npmlog.newItem ()
    19. function npmlog.newStream ()
    20. function npmlog.pause ()
    21. function npmlog.resume ()
    22. function npmlog.setGaugeTemplate (template)
    23. function npmlog.setGaugeThemeset (themes)
    24. function npmlog.showProgress ()
    25. function npmlog.silent ()
    26. function npmlog.silly ()
    27. function npmlog.useColor ()
    28. function npmlog.verbose ()
    29. function npmlog.warn ()
    30. function npmlog.write (msg, style)
    31. number npmlog._eventsCount
    32. number npmlog.maxRecordSize
    33. object npmlog._buffer
    34. object npmlog._events
    35. object npmlog.disp
    36. object npmlog.domain
    37. object npmlog.gauge
    38. object npmlog.gauge._tty
    39. object npmlog.gauge._writeTo
    40. object npmlog.headingStyle
    41. object npmlog.levels
    42. object npmlog.prefixStyle
    43. object npmlog.record
    44. object npmlog.style
    45. object npmlog.tracker
    46. string npmlog.level
  2. module npmlog._events
    1. function npmlog._events.error ()
  3. module npmlog.gauge
    1. boolean npmlog.gauge._cleanupOnExit
    2. boolean npmlog.gauge._disabled
    3. boolean npmlog.gauge._fixedFramerate
    4. boolean npmlog.gauge._hideCursor
    5. boolean npmlog.gauge._needsRedraw
    6. boolean npmlog.gauge._onScreen
    7. boolean npmlog.gauge._paused
    8. boolean npmlog.gauge._showing
    9. function npmlog.gauge._themes (opts)
    10. number npmlog.gauge._updateInterval
    11. object npmlog.gauge._gauge
    12. object npmlog.gauge._lastUpdateAt
    13. object npmlog.gauge._removeOnExit
    14. object npmlog.gauge._status
    15. object npmlog.gauge._theme
    16. object npmlog.gauge._tty
    17. object npmlog.gauge._writeTo
  4. module npmlog.gauge._themes
    1. function npmlog.gauge._themes (opts)
    2. function npmlog.gauge._themes.addTheme (name, parent, theme)
    3. function npmlog.gauge._themes.addToAllThemes (theme)
    4. function npmlog.gauge._themes.getDefault (opts)
    5. function npmlog.gauge._themes.getTheme (name)
    6. function npmlog.gauge._themes.getThemeNames ()
    7. function npmlog.gauge._themes.newMissingDefaultThemeError (platformName, hasUnicode, hasColor)
    8. function npmlog.gauge._themes.newMissingThemeError (name)
    9. function npmlog.gauge._themes.newTheme (parent, theme)
    10. function npmlog.gauge._themes.newThemeSet ()
    11. function npmlog.gauge._themes.setDefault (opts, name)
    12. object npmlog.gauge._themes.baseTheme
    13. object npmlog.gauge._themes.defaults
    14. object npmlog.gauge._themes.themes
  5. module npmlog.gauge._tty
    1. boolean npmlog.gauge._tty._hadError
    2. boolean npmlog.gauge._tty._isStdio
    3. boolean npmlog.gauge._tty.allowHalfOpen
    4. boolean npmlog.gauge._tty.connecting
    5. boolean npmlog.gauge._tty.destroyed
    6. boolean npmlog.gauge._tty.readable
    7. boolean npmlog.gauge._tty.writable
    8. function npmlog.gauge._tty._write (chunk, encoding, callback)
    9. function npmlog.gauge._tty._writeDefault (data, encoding, cb)
    10. function npmlog.gauge._tty.destroy (er)
    11. function npmlog.gauge._tty.destroySoon (er)
    12. number npmlog.gauge._tty._bytesDispatched
    13. number npmlog.gauge._tty._eventsCount
    14. number npmlog.gauge._tty.columns
    15. number npmlog.gauge._tty.fd
    16. number npmlog.gauge._tty.rows
    17. object npmlog.gauge._tty._events
    18. object npmlog.gauge._tty._handle
    19. object npmlog.gauge._tty._host
    20. object npmlog.gauge._tty._parent
    21. object npmlog.gauge._tty._pendingData
    22. object npmlog.gauge._tty._readableState
    23. object npmlog.gauge._tty._server
    24. object npmlog.gauge._tty._sockname
    25. object npmlog.gauge._tty._writableState
    26. object npmlog.gauge._tty._writev
    27. object npmlog.gauge._tty.domain
    28. object npmlog.gauge._tty.server
    29. string npmlog.gauge._tty._pendingEncoding
    30. string npmlog.gauge._tty._type
  6. module npmlog.gauge._writeTo
    1. boolean npmlog.gauge._writeTo._hadError
    2. boolean npmlog.gauge._writeTo._isStdio
    3. boolean npmlog.gauge._writeTo.allowHalfOpen
    4. boolean npmlog.gauge._writeTo.connecting
    5. boolean npmlog.gauge._writeTo.destroyed
    6. boolean npmlog.gauge._writeTo.readable
    7. boolean npmlog.gauge._writeTo.writable
    8. function npmlog.gauge._writeTo.destroy (er)
    9. function npmlog.gauge._writeTo.destroySoon (er)
    10. number npmlog.gauge._writeTo._bytesDispatched
    11. number npmlog.gauge._writeTo._eventsCount
    12. number npmlog.gauge._writeTo.columns
    13. number npmlog.gauge._writeTo.fd
    14. number npmlog.gauge._writeTo.rows
    15. object npmlog.gauge._writeTo._events
    16. object npmlog.gauge._writeTo._handle
    17. object npmlog.gauge._writeTo._host
    18. object npmlog.gauge._writeTo._parent
    19. object npmlog.gauge._writeTo._pendingData
    20. object npmlog.gauge._writeTo._readableState
    21. object npmlog.gauge._writeTo._server
    22. object npmlog.gauge._writeTo._sockname
    23. object npmlog.gauge._writeTo._writableState
    24. object npmlog.gauge._writeTo._writev
    25. object npmlog.gauge._writeTo.domain
    26. object npmlog.gauge._writeTo.server
    27. string npmlog.gauge._writeTo._pendingEncoding
    28. string npmlog.gauge._writeTo._type
  7. module npmlog.tracker
    1. boolean npmlog.tracker.finished
    2. function npmlog.tracker.bubbleChange (name, completed, tracker)
    3. number npmlog.tracker._eventsCount
    4. number npmlog.tracker.id
    5. number npmlog.tracker.totalWeight
    6. object npmlog.tracker._events
    7. object npmlog.tracker.completion
    8. object npmlog.tracker.domain
    9. object npmlog.tracker.parentGroup
    10. object npmlog.tracker.trackers
    11. object npmlog.tracker.weight

module npmlog

function npmlog._format (msg, style)

function npmlog.addLevel (lvl, n, style, disp)

function npmlog.clearProgress (cb)

function npmlog.disableColor ()

function npmlog.disableProgress ()

function npmlog.disableUnicode ()

function npmlog.emitLog (m)

function npmlog.enableColor ()

function npmlog.enableProgress ()

function npmlog.enableUnicode ()

function npmlog.error ()

function npmlog.gauge._themes (opts)

function npmlog.http ()

function npmlog.info ()

function npmlog.log ()

function npmlog.newGroup ()

function npmlog.newItem ()

function npmlog.newStream ()

function npmlog.pause ()

function npmlog.resume ()

function npmlog.setGaugeTemplate (template)

function npmlog.setGaugeThemeset (themes)

function npmlog.showProgress ()

function npmlog.silent ()

function npmlog.silly ()

function npmlog.useColor ()

function npmlog.verbose ()

function npmlog.warn ()

function npmlog.write (msg, style)

module npmlog._events

function npmlog._events.error ()

module npmlog.gauge

function npmlog.gauge._themes (opts)

module npmlog.gauge._themes

function npmlog.gauge._themes (opts)

function npmlog.gauge._themes.addTheme (name, parent, theme)

function npmlog.gauge._themes.addToAllThemes (theme)

function npmlog.gauge._themes.getDefault (opts)

function npmlog.gauge._themes.getTheme (name)

function npmlog.gauge._themes.getThemeNames ()

function npmlog.gauge._themes.newMissingDefaultThemeError (platformName, hasUnicode, hasColor)

function npmlog.gauge._themes.newMissingThemeError (name)

function npmlog.gauge._themes.newTheme (parent, theme)

function npmlog.gauge._themes.newThemeSet ()

function npmlog.gauge._themes.setDefault (opts, name)

module npmlog.gauge._tty

function npmlog.gauge._tty._write (chunk, encoding, callback)

function npmlog.gauge._tty._writeDefault (data, encoding, cb)

function npmlog.gauge._tty.destroy (er)

function npmlog.gauge._tty.destroySoon (er)

module npmlog.gauge._writeTo

function npmlog.gauge._writeTo.destroy (er)

function npmlog.gauge._writeTo.destroySoon (er)

module npmlog.tracker

function npmlog.tracker.bubbleChange (name, completed, tracker)

[ this document was created with utility2 ]