Skip to content

Glossary: Node.js Basics

stdin / stdout / stderr

Also written: standard input, standard output, standard error, stdout, stderr, stdin

A program's three standard channels: input (what the user types or another program sends), output (the real results) and error (messages and warnings). `console.log` writes to stdout and `console.error` to stderr.

Where the book teaches it

Related terms

Pipe2> (redirect stderr)TTY