# get-request-origin

> Get the URL origin from a Node request object.

Latest version **1.1.0** (published 2023-04-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install get-request-origin
pnpm add get-request-origin
yarn add get-request-origin
bun add get-request-origin
```

## 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.1.0 |
| Published | 2023-04-28 |
| First published | 2022-02-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alex Mendes |
| Maintainers | alexmendes |

## Links

- npm: https://www.npmjs.com/package/get-request-origin
- Repository: https://github.com/alexandermendes/get-request-origin
- Homepage: https://github.com/alexandermendes/get-request-origin#readme
- Issues: https://github.com/alexandermendes/get-request-origin/issues
- npm.io page: https://npm.io/package/get-request-origin

## Recent versions

- 1.1.0 (latest) — 2023-04-28
- 1.0.1 — 2022-05-24
- 1.0.0 — 2022-02-14

## README

# get-origin

Get the URL origin from a Node request object.

## Installation

```
yarn add get-origin
```

## Usage

```js
import { getRequestOrigin } from 'get-request-origin';

getRequestOrigin(myReqObject);
// http://example.com
```

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