Simple NodeJS TCP client for @teemukurki/mpd
import { TCPClient } from "@teemukurki/mpd-node-client";
import { MPDClient } from "@teemukurki/mpd";
const MPD_HOST = "localhost";
const MPD_PORT = 6600;
const client = new MPDClient(
TCPClient,
MPD_HOST,
MPD_PORT,
);
const status = await client.status();
console.log(status);