Cowsay moo your Node.js express.js app — Archived

Опубликовано: 01 Март 2026
на канале: Abdallah Mekky
417
like

cowsay is a program that generates ASCII pictures of a cow with a message.
make debugging and development more fun with cowsay.

How to cowsay your express.js app?
1. Open your code editor.
2. Open your app in your code editor.
3. npm install cowsay -D ( as devDependencies )
4. import cowsay module using `import' or 'include'
5. insert your log into cowsay.say() method as an object.

Happy coding ;)

babel-node src/index.js`
_______________________
/ \
| Server is running |
| Host: 127.0.0.1 |
| PORT: 3000 |
\ /
-----------------------
\ ^__^
\ (oO)\_______
(__) \ )\/\
U ||----w |
|| ||