Menu

1 / 2

New utilities to work with Vercel Functions - Vercel

Vercel News·Kiko Beats·about 5 hours ago
#bgAEilTz
#vercel#returns#functions#incoming#software
Reading 0:00
15s threshold

Software Engineer, Infrastructure

@vercel/functions now includes new utilities:

  • geolocation: Returns location information of the incoming request

  • ipAddress: Returns the IP address of the incoming request

  • getEnv: Returns system environment variables from Vercel

Install the latest package to use these methods today:

pnpm i @vercel/functions​

Learn more in the documentation.