UNPKG

poop-ascii-art

Version:

If you feel your project is a piece of 💩, this is the package for you! 💩

37 lines 2 kB
/** * Congratulation! * You find a poop project */ const poo = ` ⢻⡍⠛⠶⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⢀⡾⠁⠀⠀⠀⢙⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⣾⣀⣀⣀⠴⠚⠁⠈⢷⡀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⣴⠟⠉⠀⠀⠀⠀⠀⠀⢀⡸⢧⣄⡀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⣾⠁⠀⢀⠀⠀⠀⢀⣠⠔⠋⢀⡀⠈⢻⡆⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⣀⣼⣦⠋⣉⡉⢲⡚⠉⠀⢠⠞⣉⣉⠳⡼⢧⣀⠀⠀⠀⠀ ⠀⠀⢀⡾⠋⠀⡇⢰⣿⣿⠀⣧⠀⠀⡏⢸⣿⣿⡆⢹⠀⠉⢷⡀⠀⠀ ⠀⠀⢸⡇⠀⠀⢧⠈⠿⠟⢠⣇⠤⠖⢳⡈⠻⠟⢁⡞⠀⠀⢸⡇⠀⠀ ⢀⣠⠶⠓⠒⠒⠒⠓⢒⡚⠁⠀⠀⠀⠀⠙⢒⡒⠋⠀⠀⣠⠿⢦⣄⠀ ⣾⠁⠀⠀⠀⠀⠀⠀⠫⣌⠉⠉⠉⠉⠉⠉⣩⠟⢀⡤⠚⠁⠀⠀⠙⣆ ⣧⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠒⠒⣒⡲⠭⠒⠊⠁⠀⠀⠀⠀⠀⢀⡿ ⠹⢦⣄⣀⣀⣠⣤⠤⠴⠶⠶⣬⣭⣄⣀⣀⣀⣀⣀⣀⣀⣤⡤⠶⠋⠀ `; const styles = "font-family:monospace;color:#8B4513;font-size:12px;"; const poopArt = () => { console.log("%c\n\n" + poo, styles); }; const poopArtWithMessage = (message = "Debug time!") => { console.log("%c\n\n" + poo + `\n\nTip: Sometimes the best poop is what you make!\n`, styles); }; const poopArtColors = { brown: "font-family:monospace;color:#8B4513;font-size:12px;", green: "font-family:monospace;color:#228B22;font-size:12px;", rainbow: "font-family:monospace;background:linear-gradient(45deg,#ff0000,#ff7f00,#ffff00,#00ff00,#0000ff,#4b0082,#9400d3);-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-size:12px;", }; const poopArtCustom = (color = "brown") => { const style = poopArtColors[color] || poopArtColors.brown; console.log("%c\n\n" + poo + "\n\nTip: Sometimes the best poop is what you make!\n", style); }; export { poopArtWithMessage, poopArtCustom }; export default poopArt; //# sourceMappingURL=index.js.map