This content originally appeared on DEV Community and was authored by Deepak Patil
While working with React, I wanted to have a cool ASCII art banner while running the React application in the terminal. I have tried so many NPM packages and libraries but none helped. So I have decided to make a package and built reactasciibanner.
This package will help to add custom ASCII art while running React applications like below
To use this package. We just have to install it in the React application using npm.
npm i @deepcodr/reactasciibanner
Once installed add the ASCII art text to the file called ReactBannerArt.txt and put this file in the src folder of the application.
Then update the package.json start script command from
react-scripts start
to
react-banner start
And that's it you will see ASCII art in the terminal after running the application using npm start
package link @deepcodr/reactasciibanner
This content originally appeared on DEV Community and was authored by Deepak Patil
Deepak Patil | Sciencx (2024-06-16T08:03:16+00:00) How I have added a custom ASCII Art Banner to the React Server. Retrieved from https://www.scien.cx/2024/06/16/how-i-have-added-a-custom-ascii-art-banner-to-the-react-server/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.