1
0 Comments

Day 3 of 90: Just published the official JS/TS SDK for Locara on npm

I've been running a 90-day sprint to build Locara into the best location data API for developers. Here's what happened on Day 3.
What is Locara?
Locara is a REST API that gives developers clean, nested access to location data — 250+ countries, 5,300+ states, and 154,000+ cities. The API structure looks like this:
GET /countries/US/states/CA/cities
What I shipped today
Published the official JavaScript/TypeScript SDK on npm:
npm install locara-js
What's in it:

LocaraClient with built-in auth, error handling, and timeout
Full TypeScript types for Country, State, and City
Zero runtime dependencies
ESM + CJS dual output — works in Node 18+ and the browser

Quick example:
tsimport { LocaraClient } from "locara-js";

const client = new LocaraClient({ apiKey: "loc_live_xxxx" });

const countries = await client.countries.list({ limit: 10 });
const states = await client.states.list("IN");
const cities = await client.cities.list("US", "CA");
The 90-day roadmap
Here's what's coming next:

Day 4 — Python SDK (pip install locara-py)
Day 8 — Search endpoint (/search?q=mumbai)
Day 15 — Reverse geocoding (lat/lng → city)
Day 31 — Postal/ZIP codes

I'm building this fully in public. Will post updates as each milestone ships.
Links

npm → npmjs.com/package/locara-js
Docs → locara.online/docs
Free tier, no credit card required → locara.online

Happy to answer any questions about the API design, SDK structure, or the 90-day plan. Feedback welcome.

posted to Icon for group Building in Public
Building in Public
on June 7, 2026
Trending on Indie Hackers
Most founders don't have a product problem. They have a visibility problem User Avatar 106 comments Day 4: Why I Built a $199 Workspace Nobody Asked For User Avatar 55 comments Spent months building LazyEats AI. Spent 1 day realizing I have no idea how to get users. User Avatar 35 comments Hi IH — quick update. The MVP is live. User Avatar 28 comments I Built a Football Sentiment Platform in 18 Days. The World Cup Starts in 7 Days. Now I Need Distribution. User Avatar 17 comments Built an n8n booking alert system — is cold outreach dead for B2B micro-tools? User Avatar 16 comments