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

timezone_ak

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timezone_ak

provides the weather information of different cities around the world

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

This service timezone exports following methods:

allTimeZones() : return the list of top cities around the world in an array

Each city contains the follow properties: cityName: 'city name', dateAndTime: 'current date and time of the city' timeZone:timeZone, temperature: temperature of the city, humidity: humidity of the city precipitation: precipitation of the city

timeForOneCity(): takes the city name as input and returns the current date and time of the respective city

nextNhoursWeather(): takes the city name as input and returns the array of next N hours along with the temperature

eg: { hours: [+1 Hour, +2 Hour, +3 Hour, +4 Hour, +5 Hour], temperature: ['24 C', '29 C', '21 C', '28 C', '27 C']}

FAQs

Package last updated on 28 Oct 2022

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