# @types/remote-origin-url

> TypeScript definitions for remote-origin-url

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

## Install

```sh
npm install @types/remote-origin-url
pnpm add @types/remote-origin-url
yarn add @types/remote-origin-url
bun add @types/remote-origin-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 | 2.0.4 |
| Published | 2023-11-07 |
| First published | 2018-12-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Recent versions

- 2.0.4 (latest) — 2023-11-07
- 2.0.1 (ts3.6) — 2021-07-08
- 2.0.0 (ts2.0) — 2018-12-26
- 2.0.3 — 2023-10-18
- 2.0.2 — 2023-09-27

## README

# Installation
> `npm install --save @types/remote-origin-url`

# Summary
This package contains type definitions for remote-origin-url (https://github.com/jonschlinkert/remote-origin-url).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/remote-origin-url.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/remote-origin-url/index.d.ts)
````ts
export = remoteOriginUrl;

declare function remoteOriginUrl(
    options?: string | remoteOriginUrl.Options,
): Promise<string | undefined>;
declare function remoteOriginUrl(callback: remoteOriginUrl.Callback): void;
declare function remoteOriginUrl(
    options: string | remoteOriginUrl.Options,
    callback: remoteOriginUrl.Callback,
): void;

declare namespace remoteOriginUrl {
    function promise(options?: string | Options): Promise<string | undefined>;
    function sync(options?: string | Options): string | undefined;

    interface Options {
        path?: string | undefined;
    }

    type Callback = (error: Error | null, url?: string) => void;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).

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