UNPKG

pw-stick-output

Version:

TypeScript utility for managing PipeWire audio node connections and routing with systemd integration

10 lines 284 B
/** * Runtime snake_case converter (handles camelCase, PascalCase, spaces, and dashes). */ export function toSnakeCase(s) { return s .replace(/([a-z0-9])([A-Z])/g, '$1_$2') .replace(/[-\s]+/g, '_') .toLowerCase(); } //# sourceMappingURL=log.helper.js.map