SDKs

Official NetLoc8 SDKs for JavaScript, React, Next.js, and Go. The JavaScript packages re-export their parent — install only the one that matches your framework.

Package Hierarchy

Each SDK builds on the previous one. Install only the most specific package for your framework:

@netloc8/core ← universal JS client

└─ @netloc8/react ← adds Provider, useGeo, GeoGate

└─ @netloc8/nextjs ← adds SSR proxy, getGeo, redirects

github.com/netloc8/netloc8-go ← standalone Go client

Feature Comparison

Featurecorereactnextjs
fetchGeo / fetchMyGeo
fetchTimezone / fetchMyTimezone
isEU() helper
Browser signals
NetLoc8Provider
useGeo() hook
GeoGate component
getGeo() (server)
createProxy()
withGeoRedirect()

Packages