Skip to content
Geocoded
SDKs and packages

Use Geocoded from your stack.

Official, MIT-licensed packages for TypeScript, React and React Native. They are tree-shakeable, fetch from the API instead of bundling datasets, and need no API key.

15 packages
4 platform groups
Quick start

Install and call.

The client works in browsers, Node, Bun and Workers. Get-one lookups accept a name or an ISO code. The API reference lists every endpoint it wraps.

bun add @geocoded/client
import { getCountry, fetchStates, search } from '@geocoded/client'

const japan = await getCountry('JP')
const states = await fetchStates('US')
const places = await search('paris', { type: 'city' })
1 packages

API client

Typed requests for every endpoint from browsers, Node, Bun and Workers.

@geocoded/client

v0.1.1

Typed Geocoded API client for browsers, Node, Bun, and Workers.

bun add @geocoded/client
5 packages

React

Ready-made pickers and fields with search, paging and controlled or uncontrolled use.

react-country-region-picker

v0.1.1

React country, region, and city pickers backed by the Geocoded API.

bun add react-country-region-picker

react-currency-code-picker

v0.1.1

React ISO 4217 currency picker.

bun add react-currency-code-picker

react-iana-timezone-picker

v0.1.1

React IANA timezone picker.

bun add react-iana-timezone-picker

react-phone-number-field

v0.1.1

React phone number field with country picker.

bun add react-phone-number-field

react-picker-core

v0.1.1

Headless React picker primitive.

bun add react-picker-core
5 packages

React Native

Headless hooks with the same behavior, so any UI kit can render the controls.

react-native-country-region-picker

v0.1.1

React Native country, region, and city pickers.

bun add react-native-country-region-picker

react-native-currency-code-picker

v0.1.1

React Native ISO 4217 currency picker.

bun add react-native-currency-code-picker

react-native-iana-timezone-picker

v0.1.1

React Native IANA timezone picker.

bun add react-native-iana-timezone-picker

react-native-phone-number-field

v0.1.1

React Native phone number field.

bun add react-native-phone-number-field

react-native-picker-core

v0.1.1

Headless React Native picker primitive.

bun add react-native-picker-core
4 packages

Framework-agnostic helpers

Formatting, parsing and option helpers that work in any JavaScript runtime.

currency-code-formatters

v0.1.1

Framework-agnostic ISO 4217 currency labels and filters.

bun add currency-code-formatters

phone-number-formatters

v0.1.1

Framework-agnostic phone parsing, formatting, and validation.

bun add phone-number-formatters

picker-core

v0.1.1

Shared pagination, search, and cache helpers for Geocoded pickers.

bun add picker-core

use-timezones

v0.1.1

Framework-agnostic timezone option helpers.

bun add use-timezones