SonoJS Geo

Country and city picker using the package API.

SonoJS
Choose a country.

Install & usage

terminal
npm install @sonojs/geo
JavaScript
import { getCountryByIso2, getCitiesByCountry } from '@sonojs/geo';

const country = await getCountryByIso2('JP');
const cities = await getCitiesByCountry('JP');