1.0.1 • Published 7 months ago
nlsn-audio-control v1.0.1
nlsn-audio-control
Implements bash interface to control volume with pactl on top of child_process
.
Usage
import { volume } from "nlsn-audio-control";
// Sets linux volume with pactl:
// pactl set-sink-volume @DEFAULT_SINK@ 10%
volume(10).catch(console.error);