1.0.0 • Published 3 years ago
stormbot v1.0.0
Stormbot
A simple CLI application that checks weather via OpenWeatherMap
You will need to create an account at https://openweathermap.org and get an API key to use correctly. It would be improper to publish an API key here, I hope you understand my reasoning :)
To configure your key, please create a new file in the root director named 'config.js'. Please then declare your key there, and export it. Then, in api.js, require the file as a new variable and use that to set the key in the API constructor.
Node packages used:
Node Fetch - used to be able to make async fetch calls to the API
Prompt-Sync - used to gain user input
At time of publishing (12/26/20) there are no vulnerabilities with the packages listed above, nor with any of their dependencies.
Please enjoy, and clear skies to you!
1.0.0
3 years ago