UNPKG

namastejs

Version:

A spiritual greeting from your JavaScript code. Because every function deserves a 'Namaste ๐Ÿ™'

20 lines (17 loc) โ€ข 759 B
const blessings = [ "โœจ May your git never conflict. ๐Ÿง˜โ€โ™‚๏ธ", "๐Ÿž May your code be bug-free on the first run. ๐Ÿ”ฅ", "โœ… May your pull requests always get approved. ๐Ÿš€", "โณ May your deadlines extend themselves. ๐Ÿ™Œ", "๐Ÿงผ May the console be forever clean. ๐Ÿ“Ÿ", "โ˜• May the caffeine never run out. ๐Ÿ˜Ž", "๐Ÿ” May your secrets never leak to GitHub. ๐Ÿคซ", "๐Ÿ“ฆ May your builds never break on release day. ๐Ÿ˜‡", "๐Ÿง  May your brain always find the missing semicolon. ๐Ÿช„", "๐ŸŽฏ May your tests pass on the first try. ๐Ÿงช", ]; function blessingForDev() { const randomIndex = Math.floor(Math.random() * blessings.length); return blessings[randomIndex]; } module.exports = { blessingForDev };