Skip to content

Simple and lightweight CLI (NPM package) to check weather, time, and timezone for a certain location. You can directly check it on your Console/Terminal.

License

Notifications You must be signed in to change notification settings

MelodicCrypter/CheckDay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CheckDay

NPM   npm

CheckDay is a very simple and lightweight CLI package that checks weather, time, and timezone for a specific location. You can directly use it on your Console/Terminal.

Installation

Globally

npm i -g checkday

Locally

npm i checkday

or

yarn add checkday

Usage

If Global

checkday -a 'LocationNameHere'

or

checkday --address='LocationNameHere

Code above will return the weather status, temperature, current time, and timezone.

Sample Result



To check the version:

checkday --version


For Help:

checkday -h


If Inside Local Project

  1. Create a file, any name you want, inside your project. eg. checkday.js

  2. Inside checkday.js, require the checkday module


const checkday = require('checkday');


  1. Then on your command-line type:

node checkday.js -a 'LocationNameHere'

About

Simple and lightweight CLI (NPM package) to check weather, time, and timezone for a certain location. You can directly check it on your Console/Terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published