0.1.3 • Published 1 year ago

parse-gst-device-monitor v0.1.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

parse-gst-device-monitor

Parse the output from gst-device-monitor-1.0 and return as JSON object. No dependencies.

Sample usage

const { parseGstDeviceMonitorOutput } = require('parse-gst-device-monitor');
const { execSync } = require('child_process');

const input = execSync('gst-device-monitor-1.0', {encoding: 'utf8'});
const devices = parseGstDeviceMonitorOutput(input);

See testOutput.json for an example of the output format.

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

2 years ago

0.1.0

2 years ago