UNPKG

yavafetch

Version:

A fetch utility written in JavaScript (YavaSkreept)

61 lines (56 loc) 1.5 kB
const os = require('os'); function printOsSpecificAsciiArt() { if (os.type() === 'Linux') { console.log(` .--. |o_o | |:_/ | // \\ \\ (| | ) /'\\_ _/\`\\ \\___)=(___/ `); } if (os.type() === 'Windows_NT') { console.log(` //////// //////// //////// //////// //////// //////// //////// //////// //////// //////// //////// //////// //////// //////// //////// //////// `); } if (os.type() === 'Darwin') { console.log(` .8 .888 .8888' .8888' 888' 8' .88888888888. .88888888888. .8888888888888888888888888888888. .8888888888888888888888888888888888. .&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&' &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&' &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&' @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%. 00000000000000000000000000000000000' '000000000000000000000000000000000' '0000000000000000000000000000000' '###########################' '#######################' '#########''########' """"""' '"""""' `); } } module.exports = { printOsSpecificAsciiArt };