# url-exists-promise

> Check if a url exists.

Latest version **1.0.2** (published 2018-08-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install url-exists-promise
pnpm add url-exists-promise
yarn add url-exists-promise
bun add url-exists-promise
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2018-08-27 |
| First published | 2018-07-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dylan Vann |
| Maintainers | dylanvann |
| Keywords | exists, promise, url |

## Links

- npm: https://www.npmjs.com/package/url-exists-promise
- Repository: https://github.com/DylanVann/url-exists-promise
- Homepage: https://github.com/DylanVann/url-exists-promise#readme
- Issues: https://github.com/DylanVann/url-exists-promise/issues
- npm.io page: https://npm.io/package/url-exists-promise

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2018-08-27
- 1.0.1 — 2018-07-18
- 1.0.0 — 2018-07-18

## README

# url-exists-promise

Check if a url exists in node.
Uses a HEAD request.

```ts
import { urlExists } from 'url-exists-promise'

urlExists('https://google.com/')
    // probably true
    .then(res => console.log(res))
```

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