UNPKG

ffsnode

Version:

[WIP] A simple, efficient Node version manager that aims to be fast, predictable, and frustration-free.

45 lines (44 loc) 2.69 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getRandomMessage = exports.messages = void 0; exports.messages = [ "I hear you. It's rough. But you're not alone.", "It's okay. Even the best devs have days like this.", 'Your frustration is valid. Debugging is an emotional rollercoaster.', 'Take a breath. Stretch. Hydrate. You got this.', "I see you struggling. That means you care. That's a good thing.", 'Remember: every error message is just a puzzle waiting to be solved.', "You've fixed worse bugs than this. You'll fix this one too.", "Even senior devs Google basic things. You're doing fine.", "Debugging isn't a skill, it's a personality trait. And you've got it.", "If it were easy, everyone would be doing it. You're on the hard path for a reason.", 'Have you tried turning it off and on again? (Your brain, I mean.)', 'Somewhere, an unpaid intern just committed to master. Feel better?', 'npm install... your patience.', "JavaScript is the language of the web. The web is chaos. Conclusion: It's not your fault.", "Look, if Stack Overflow didn't exist, none of us would be here.", 'Zen and the art of debugging: The problem exists only as long as you perceive it.', "Every bug teaches you something. Even if it's just how to swear in a new language.", "A wise coder once said: 'Just commit and push. Future You will deal with it.'", 'Coding is like life: full of unexpected exceptions and infinite loops.', "You can't brute force inner peace. But you *can* brute force a fix.", "Take a break. Walk away. Solutions love sneaking up when you're not looking.", 'Step away from the keyboard. Hydration > frustration.', 'Rubber duck debugging: 90% effective, 100% ridiculous.', 'Read the error message again. Slowly. With love.', "Break it down. One problem at a time. You've got this.", "Node versions shouldn't be this hard. That's why I exist.", "If it's a weird bug, it's probably a permissions issue. Or caching. Always caching.", 'Congratulations! You found another way JavaScript makes no sense.', "Just blame npm. It's what we all do.", "If I had a dollar for every time someone was mad at Node, I'd be AWS.", "You're doing your best. And that's enough.", 'Perfection is a lie. Progress is real.', "It's okay to be frustrated. It means you care.", "You're not alone. Every dev has been here.", "You'll figure it out. You always do.", ]; const getRandomMessage = () => { return exports.messages[Math.floor(Math.random() * exports.messages.length)]; }; exports.getRandomMessage = getRandomMessage;