Files
vercel/packages/edge/docs/interfaces/Geo.md
Ethan Arrowood 9c768b98b7 [tests] Migrate from yarn to pnpm (#9198)
<picture data-single-emoji=":pnpm:" title=":pnpm:"><img class="emoji" src="https://single-emoji.vercel.app/api/emoji/eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..4mJzrO94AnSn0Pue.4apgaKtTUdQ-wxNyahjdJj28u8bbXreLoTA8AGqYjLta3MrsFvbo9DsQFth4CoIkBgXFhQ5_BVcKNfYbwLg4bKzyIvItKe4OFS8AzG7Kkicz2kUUZk0.nXyK_PvHzZFGA-MQB6XHfA" alt=":pnpm:" width="20" height="auto" align="absmiddle"></picture> 

yarn has become increasingly more difficult to use as the v1 we rely on no longer receives updates. pnpm is faster and is actively maintained. 

This PR migrates us to pnpm.
2023-01-11 23:35:13 +00:00

1.8 KiB

Interface: Geo

The location information of a given request.

Table of contents

Properties

Properties

city

Optional city: string

The city that the request originated from.

Defined in

packages/edge/src/edge-headers.ts:47


country

Optional country: string

The country that the request originated from.

Defined in

packages/edge/src/edge-headers.ts:50


countryRegion

Optional countryRegion: string

The region part of the ISO 3166-2 code of the client IP. See docs.

Defined in

packages/edge/src/edge-headers.ts:58


latitude

Optional latitude: string

The latitude of the client.

Defined in

packages/edge/src/edge-headers.ts:61


longitude

Optional longitude: string

The longitude of the client.

Defined in

packages/edge/src/edge-headers.ts:64


region

Optional region: string

The Vercel Edge Network region that received the request.

Defined in

packages/edge/src/edge-headers.ts:53