SDKs

Official NetLoc8 SDKs for JavaScript, React, and Next.js. Each package re-exports its 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

Feature Comparison

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

Packages