NPM CLI (Covid-19 Special)
Umar Ahmed
Posted on April 1, 2020
Npm cli built using javascript.You can also build your own now.
Fork or Clone the repository
git clone https://github.com/UmarGit/Covid-19-CLI.git
Install the project globally
npm install -g .
Now Run the Project from Command Prompt
covid-19
Check Cases of a Country(like for Pakistan its country code is 'PK')
covid-19 -n PK
Check Cases of other Countries
covid-19 -n PK #Pakistan
covid-19 -n US #United States
covid-19 -n IF #Italy
covid-19 -n AF #Afghanistan
covid-19 -n CN #China
Conclusion
You can edit the index.js file and package.json as per your needs and make your own cli.How easy it was !.Please leave a star if you like this !
💖 💪 🙅 🚩
Umar Ahmed
Posted on April 1, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.