Gobsly - JS SDK

Our team has also developed a JavaScript SDK (with TypeScript) to expedite the integration of Gobsly.

Obtain an API key from Gobsly, and then install the package using your preferred package manager.

npm i @gobsly/location

Usage example

import { init, getLocation } from "@gobsly/location";

init("YOUR_API_KEY");

const app = async () => {
  const userLocation = await getLocation();

  console.log(userLocation);
};

app();

Last updated