UNPKG

@guillaumearm/pi-camera

Version:

A very lightweight promise based Node.js wrapper for the native Raspberry Pi Camera CLI tools.

21 lines (18 loc) 394 B
declare module '@guillaumearm/pi-camera' { export type CameraConfig = { mode: 'photo', output: string, width: number, height: number, nopreview?: boolean, timeout?: number, status?: boolean, brightness: string, vflip: true, }; class PiCamera { constructor(config: CameraConfig); public snap(): Promise<void>; } export default PiCamera; }