# @types/js-url

> TypeScript definitions for js-url

Latest version **1.8.32** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/js-url
pnpm add @types/js-url
yarn add @types/js-url
bun add @types/js-url
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.8.32 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51442 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/js-url
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-url
- npm.io page: https://npm.io/package/@types/js-url

## Recent versions

- 1.8.32 (latest) — 2023-11-07
- 1.8.29 (ts2.0) — 2018-11-21
- 1.8.31 — 2023-10-18
- 1.8.30 — 2023-09-15
- 1.8.28 — 2016-09-19
- 1.8.27 — 2016-07-14
- 1.8.26-alpha — 2016-07-08
- 1.8.25-alpha — 2016-07-04
- 1.8.24-alpha — 2016-07-02
- 1.8.23-alpha — 2016-07-01
- 1.8.22-alpha — 2016-07-01
- 1.8.21-alpha — 2016-05-25
- 1.8.20-alpha — 2016-05-20
- 1.8.15-alpha — 2016-05-19
- 1.8.14-alpha — 2016-05-17

## README

# Installation
> `npm install --save @types/js-url`

# Summary
This package contains type definitions for js-url (https://github.com/websanova/js-url).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-url.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-url/index.d.ts)
````ts
interface UrlStatic {
    (): string;
    (pattern: string): string;
    (pattern: number): string;
    (pattern: string, url: string): string;
    (pattern: number, url: string): string;
}

declare var url: UrlStatic;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [Pine Mizune](https://github.com/pine).

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