list_elevenlabs_voices
Version:
List eleven labs voices in the console. Output as text or json.
34 lines (17 loc) • 548 B
text/typescript
import { white, whiteBright, blackBright, cyan } from 'cli-color';
let in_color: boolean = true;
function is_color(set_to: boolean) {
in_color = set_to;
return in_color;
}
const base = (text: string) => in_color? white(text) : text;
const item = (text: string) => in_color? cyan(text) : text;
const name = (text: string) => in_color? whiteBright(text) : text;
const misc = (text: string) => in_color? blackBright(text) : text;
export {
is_color,
base,
item,
name,
misc
};