Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 467 Bytes

Stdout.md

File metadata and controls

19 lines (11 loc) · 467 Bytes

Documentation / API / Output / Stream

(Class) Stdout extends Stream

Provide this class to a ShairportSync instance to make it output to stdout.

Class

Create ShairportSync instance using Stdout this way:

import {ShairportSync, Stdout} from 'shairport-sync';

const output = new Stdout();

const instance = new ShairportSync(output);

Read Stream reference for full implementation.