checkday

1.0.3 • Public • Published

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.



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'

Readme

Keywords

Package Sidebar

Install

npm i checkday

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

36.2 kB

Total Files

6

Last publish

Collaborators

  • melodic_crypter