node:console

#Import

import console from "nstdlib/console";

Note

The module imports. Its behavior has not been tested.

#Runtime support

Where it runsStatusExport coverageDetails
nstd⚠️ some support17/22 of Node's own eligible tests pass under nstd.
Browser⚠️ some support77% of Node.jsIt imports with the small process shim. 24/31 Node.js exports are available. No module-specific behavior test ran.
Node.js (host)❔ not tested77% of Node.js24/31 exports.

#Exports (24 of 31)

Each cell shows what happens when code reads an export:

  • ✅ Available through every import style. A named error also counts.
  • ⚠️ Available through only some import styles.
  • ❔ The export exists but has no value.
  • ❌ The export does not exist.
  • – This environment was not measured.
ExportNode.jsnstdlibbrowser
Console
_ignoreErrors
_stderr
_stderrErrorHandler
_stdout
_stdoutErrorHandler
_times
assert
clear
context
count
countReset
createTask
debug
dir
dirxml
error
group
groupCollapsed
groupEnd
info
log
profile
profileEnd
table
time
timeEnd
timeLog
timeStamp
trace
warn

#Missing exports (7)

These exports exist in Node.js but not in nstdlib:

  • _stderr
  • _stdout
  • context (undefined)
  • createTask (undefined)
  • profile (undefined)
  • profileEnd (undefined)
  • timeStamp (undefined)