UNPKG

artnet-dmx

Version:

Art-Net DMX controller library

25 lines (24 loc) 617 B
/// <reference types="node" /> export { SendStatus } from './enums'; export { OptionsProps, SendProps } from './types'; import EventEmitter from 'node:events'; import { OptionsProps, SendProps } from './types'; /** * ArtnetDMX */ export declare class ArtnetDMX extends EventEmitter { #private; constructor(options?: OptionsProps); /** * Change the options */ changeOptions: (options: OptionsProps) => void; /** * Close the socket */ close: () => void; /** * Send data to the specified universe */ send({ universe, data, callback, }: SendProps): void; }