# lycos-weather

> lycos weather scraper.

Latest version **1.0.2** (published 2021-04-01) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install lycos-weather
pnpm add lycos-weather
yarn add lycos-weather
bun add lycos-weather
```

## 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.2 |
| Published | 2021-04-01 |
| First published | 2020-08-20 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 12.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | n0rmancodes |
| Maintainers | n0rmancodes |
| Keywords | weather, lycos |

## Links

- npm: https://www.npmjs.com/package/lycos-weather
- Repository: https://github.com/n0rmancodes/lycos-weather
- Homepage: https://github.com/n0rmancodes/lycos-weather#readme
- Issues: https://github.com/n0rmancodes/lycos-weather/issues
- npm.io page: https://npm.io/package/lycos-weather

## Dependencies (2)

- [got](https://npm.io/package/got.md) ^11.5.2
- [cheerio](https://npm.io/package/cheerio.md) ^1.0.0-rc.3

## Recent versions

- 1.0.2 (latest) — 2021-04-01
- 1.0.1 — 2020-08-20
- 1.0.0 — 2020-08-20

## README

# lycos-weather
NPM package to scrape Lycos's Weather pages.

Although there is no license on the code itself, Lycos owns the data itself.

Install on NPM via ``npm i lycos-weather``.

## Sample Code

This gets weather data in New York City.

```js
const lw = require("lycos-weather");
const q = "10007";
// new york ny zip code

lw.search(q, function(err, resp) {
    if (resp) {
        lw.get(resp[0].href, function (err, resp) {
            if (err) {
                console.log(err)
            } else {
                console.log(resp)
            }
        })
    } else {
        if (err.code == "oneResult") {
            lw.get(err.url, function (err, resp) {
                if (err) {
                    console.log(err)
                } else {
                    console.log(resp)
                }
            })
        } else {
            console.log(err);
        }
    }
})
```

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