JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q18069F
  • License GPL-3.0

Control Kodi from JavaScript!

Package Exports

  • kodi-controller

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kodi-controller) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Kodi Controller

GitHub Workflow Status Codacy Badge npm License: GPL v3 Inline docs

Kodi Controller is a callback driven package for controlling Kodi from javascript.

Installation

Use the package manager npm to install Kodi Controller.

npm install kodi-controller

Usage

const KodiController = require("kodi-controller");

kodi = new KodiController("192.168.0.24", 8080);

kodi.pause();

kodi.getVolume((err, volume) =>{
    console.log(`The Volume is currently ${volume}.`);
});

Contributing

Please make sure to update tests as appropriate.

License

GPL-3.0