UNPKG

@yume-chan/scrcpy

Version:
10 lines 261 B
export function parseDisplay(line) { const match = line.match(/^\s+scrcpy --display (\d+)$/); if (match) { return { id: Number.parseInt(match[1], 10), }; } return undefined; } //# sourceMappingURL=parse-display.js.map