[go: up one dir, main page]

pjlink-control
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

pjlink-control

Minimal package for controlling projectors with the PJLink protocol.

Basic Usage

import Projector from 'pjlink-control'; //TypeScript
const Projector = require('pjlink-control').default; //JavaScript

let panasonic1 = new Projector("172.19.1.137", "panasonic", () => {
  console.log("connected");
  panasonic1.power('on').then(() => {
    return panasonic1.getInput()
  }).then((val) => {
    console.log('Input "' + val + '" active');
  })
});

Readme

Keywords

none

Package Sidebar

Install

npm i pjlink-control

Weekly Downloads

2

Version

1.1.0

License

GPL-3.0

Unpacked Size

17.9 kB

Total Files

4

Last publish

Collaborators

  • markschwartzkopf