Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trinetra116/weather-cli-tool

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trinetra116/weather-cli-tool

A Command Line Interface (CLI) tool for: 1. Accessing weather data of a location 2. Accessing AQI of a location 3. Getting coordinates of a location and vice-versa.

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by150%
Maintainers
0
Weekly downloads
 
Created
Source

weather-cli-tool

A Command Line Interface (CLI) tool for:

  1. Accessing weather data of a location
  2. Accessing AQI of a location
  3. Getting coordinates of a location and vice-versa.

Setup:

  1. Install Node.js on your computer
  2. Create a account on OpenWeather and go to the API keys section
  3. Copy the API KEY
  4. In your terminal, run:
npm i @trinetra116/weather-cli-tool
  1. In the file "node_modules/weather-cli-tool/api.js", and paste your API KEY like this:
const API_KEY="your API KEY";
  1. Now you can run your cli-tool using the command:
weather <sub-command..> <arguements...>
  1. For guidelines on how to use the tool, run:
weather --help

FAQs

Package last updated on 13 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc