# glushkivan-module

> A collection of utilities for astronomy calculations and weather fetching.

Latest version **1.0.0** (published 2024-03-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install glushkivan-module
pnpm add glushkivan-module
yarn add glushkivan-module
bun add glushkivan-module
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2024-03-18 |
| First published | 2024-03-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | glushkivan518 |

## Links

- npm: https://www.npmjs.com/package/glushkivan-module
- Repository: https://github.com/glushkivan518/glushkivan-module
- Homepage: https://github.com/glushkivan518/glushkivan-module#readme
- Issues: https://github.com/glushkivan518/glushkivan-module/issues
- npm.io page: https://npm.io/package/glushkivan-module

## Dependencies (10)

- [vl75](https://npm.io/package/vl75.md) 1.0.0
- [vo21](https://npm.io/package/vo21.md) 1.0.0
- [axios](https://npm.io/package/axios.md) ^0.23.0
- [suncalc](https://npm.io/package/suncalc.md) ^1.8.0
- [lenovpaha](https://npm.io/package/lenovpaha.md) 1.0.0
- [soft-zyat](https://npm.io/package/soft-zyat.md) 1.0.0
- [donaldrodriguez](https://npm.io/package/donaldrodriguez.md) 1.0.0
- [mode-tobogunbar](https://npm.io/package/mode-tobogunbar.md) 1.0.0
- [denisgorlov-math](https://npm.io/package/denisgorlov-math.md) 1.0.0
- [kennethallen-cloud](https://npm.io/package/kennethallen-cloud.md) 1.0.0

## Recent versions

- 1.0.0 (latest) — 2024-03-18

## README

# glushkivan-module

A collection of utilities for astronomy calculations and weather fetching.

## Installation

You can install this module via npm: `npm install glushkivan-module`


## Usage

```javascript
const astroUtils = require('astro-utils');

// Example usage
const latitude = 51.5074; // Latitude of London
const longitude = -0.1278; // Longitude of London
const date = new Date(); // Current date

const sunTimes = astroUtils.calculateSunTimes(latitude, longitude, date);
console.log('Sunrise:', sunTimes.sunrise);
console.log('Sunset:', sunTimes.sunset);

const apiKey = 'YOUR_OPENWEATHERMAP_API_KEY';
const cityName = 'London';
astroUtils.getCurrentWeather(apiKey, cityName)
  .then(weatherData => {
    console.log('Current Temperature (Celsius):', astroUtils.kelvinToCelsius(weatherData.main.temp));
  })
  .catch(error => {
    console.error('Error:', error.message);
  });
```

---
_Source: https://npm.io/package/glushkivan-module · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
