Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/changhuixu/weather-cli-nodejs
A CLI program in Node.js. The program checks weather data in command line.
https://github.com/changhuixu/weather-cli-nodejs
api cli cli-app command-line command-line-tool commandline config configuration console console-application console-color console-table console-tool javascript node nodejs prompt weather weather-app weather-forecast
Last synced: about 1 month ago
JSON representation
A CLI program in Node.js. The program checks weather data in command line.
- Host: GitHub
- URL: https://github.com/changhuixu/weather-cli-nodejs
- Owner: changhuixu
- License: mit
- Created: 2019-09-23T18:29:14.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-13T21:14:50.000Z (over 1 year ago)
- Last Synced: 2024-12-08T05:36:45.320Z (about 2 months ago)
- Topics: api, cli, cli-app, command-line, command-line-tool, commandline, config, configuration, console, console-application, console-color, console-table, console-tool, javascript, node, nodejs, prompt, weather, weather-app, weather-forecast
- Language: JavaScript
- Size: 118 KB
- Stars: 11
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Weather CLI in Node.js
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/I3I63W4OK)
A weather CLI app in Node.js. The app checks weather in command line.
[![npm](https://img.shields.io/npm/v/best-weather-cli.svg?style=flat-square)](https://www.npmjs.com/package/best-weather-cli)
## [Medium Article](https://codeburst.io/build-a-command-line-interface-cli-application-with-node-js-59becec90e28)
## Usages
```sh
npm i -g best-weather-cli
weather
weather config -k={your api key} -c={your city id} -u={temperature units}
weather now
weather forecast
```## Screenshots
### `main menu`
### `weather now`
### `weather forecast`
## How to build locally
```sh
npm i
npm link
```## License
Feel free to use the code in this repository as it is under MIT license.
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/I3I63W4OK)