Created
May 22, 2020 09:45
-
-
Save taznica/6145eed70c195186df6dcdd4bb464a9d to your computer and use it in GitHub Desktop.
console.dog()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.dog = (bark, l = bark.toString().length / 1.66) => { | |
console.log(` | |
/ ̄${` ̄ ̄`.repeat(l)} ̄ | |
🐶 < `,bark,` | |
\\_${`__`.repeat(l)}_ | |
`) | |
} | |
console.dog('wan wan') | |
console.dog({ja: 'wan wan', en: 'bow wow'}) | |
// https://twitter.com/wesbos/status/1254836059109642240 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment