UNPKG

@lukekarrys/r2d2

Version:
15 lines (13 loc) 330 B
const r2d2 = (color = true) => { const b = color ? (s) => `\u001b[34m${s}\u001b[0m` : (s) => s return ` .-""-. /${b('[O]')} __\\ _|__${b('o')} LI|_ / | ${b('====')} | \\ |_| ${b('====')} |_| ${b('|')}|" || |${b('|')} ${b('|')}|LI ${b('o')} |${b('|')} ${b('|')}|'----'|${b('|')} /__| |__\\` } export default r2d2