UNPKG

@mardillu/us-cities-utils

Version:

A lightweight TypeScript utility library to work with US cities and ZIP codes — perfect for filters, maps, address lookups, and geolocation logic.

44 lines (42 loc) 939 B
export const mockCities = [ { zip: '10001', name: 'New York', state: 'New York', stateAbbr: 'NY', county: 'New York', countCode: '61', latitude: '40.7484', longitude: '-73.9967', }, { zip: '10002', name: 'New York', state: 'New York', stateAbbr: 'NY', county: 'New York', countCode: '61', latitude: '40.7484', longitude: '-73.9967', }, { zip: '90001', name: 'Los Angeles', state: 'California', stateAbbr: 'CA', county: 'Los Angeles', countCode: '37', latitude: '33.9739', longitude: '-118.2487', }, { zip: '60601', name: 'Chicago', state: 'Illinois', stateAbbr: 'IL', county: 'Cook', countCode: '31', latitude: '41.8853', longitude: '-87.6216', } ];