# is-url

> Check whether a string is a URL.

Latest version **1.2.4** (published 2018-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-url
pnpm add is-url
yarn add is-url
bun add is-url
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.2.4 |
| Published | 2018-03-26 |
| First published | 2013-08-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/is-url) |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 167 |
| Maintainers | segmentio, zeke |

## Links

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

## Recent versions

- 1.2.4 (latest) — 2018-03-26
- 1.2.3 — 2018-03-20
- 1.2.2 — 2016-07-08
- 1.2.1 — 2015-05-24
- 1.2.0 — 2014-11-25
- 1.1.0 — 2014-05-14
- 1.0.0 — 2014-01-17
- 0.1.0 — 2013-09-18
- 0.0.2 — 2013-08-02
- 0.0.1 — 2013-08-02

## README

# is-url

> **Note**  
> Segment has paused maintenance on this project, but may return it to an active status in the future. Issues and pull requests from external contributors are not being considered, although internal contributions may appear from time to time. The project remains available under its open source license for anyone to use.

Check whether a string is a URL.

## Installation

```sh
npm install is-url
```

## API

### `isUrl(string)`

Returns a Boolean indicating whether `string` is a URL.

## License

MIT

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