perdi
Version:
Um belo jeito de iniciar os projetos
40 lines (28 loc) • 712 B
JavaScript
;
const VERSION = "1.0.2";
const Perdi = () => {
this._msg = [`
_____ _____ _____ _____ _
| | | _ | | || |
| _ | ___| | || | _ | |
| |_| | |___| |_||_| | | | |
| ___| ___| __ | |_| | |
| | | |___| | | | | |
|___| |_______|___| |_|______||___|`
];
this._messages = (opt) => {
return`
${this._msg[opt]}
PaaS - Perdi as a Service
VERSION: ${VERSION}
`;
};
this.message = (opt) => {
opt = (opt === undefined) ? 0 : opt;
console.log(this._messages(opt));
};
return {
message: this.message
};
};
exports.default = Perdi().message;