mpc-js-web

A javascript client library for the Music Player Daemon - web browser package

Usage no npm install needed!

<script type="module">
  import mpcJsWeb from 'https://cdn.skypack.dev/mpc-js-web';
</script>

README

mpc.js

mpc.js is a javascript client library for the Music Player Daemon.

It features a Promise-based API for all mpd commands, type definitions for Typescript and works in both node.js and current browsers (connecting to mpd through a WebSocket bridge like websockify).

This is the web package containing the browser-specific networking code.

Documentation

Installation and usage examples for mpc.js can be found here and Typedoc-generated API documentation is available here.