@urbankitstudio/atlas 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +22 -3
  2. package/data/alabama.json +52 -6
  3. package/data/alaska.json +1 -1
  4. package/data/arizona.json +3 -3
  5. package/data/arkansas.json +143 -0
  6. package/data/california.json +65 -59
  7. package/data/colorado.json +6 -6
  8. package/data/connecticut.json +105 -3
  9. package/data/delaware.json +46 -0
  10. package/data/florida.json +188 -32
  11. package/data/georgia.json +44 -4
  12. package/data/hawaii.json +82 -0
  13. package/data/illinois.json +13 -12
  14. package/data/index.json +53 -53
  15. package/data/indiana.json +3 -3
  16. package/data/kansas.json +2 -2
  17. package/data/kentucky.json +1 -1
  18. package/data/louisiana.json +7 -7
  19. package/data/maine.json +2 -2
  20. package/data/maryland.json +94 -0
  21. package/data/massachusetts.json +2 -2
  22. package/data/michigan.json +5 -5
  23. package/data/minnesota.json +5 -5
  24. package/data/mississippi.json +8 -10
  25. package/data/missouri.json +49 -2
  26. package/data/montana.json +196 -0
  27. package/data/nebraska.json +3 -3
  28. package/data/nevada.json +2 -2
  29. package/data/new-hampshire.json +1 -1
  30. package/data/new-jersey.json +6 -6
  31. package/data/new-mexico.json +49 -0
  32. package/data/new-york.json +8 -8
  33. package/data/north-carolina.json +11 -11
  34. package/data/north-dakota.json +57 -0
  35. package/data/ohio.json +81 -3
  36. package/data/oklahoma.json +49 -0
  37. package/data/oregon.json +10 -16
  38. package/data/pennsylvania.json +3 -3
  39. package/data/rhode-island.json +1 -1
  40. package/data/south-carolina.json +18 -19
  41. package/data/south-dakota.json +58 -0
  42. package/data/tennessee.json +9 -8
  43. package/data/texas.json +216 -17
  44. package/data/utah.json +4 -4
  45. package/data/vermont.json +2 -2
  46. package/data/virginia.json +44 -2
  47. package/data/washington.json +9 -9
  48. package/data/west-virginia.json +176 -0
  49. package/data/wisconsin.json +1 -1
  50. package/data/wyoming.json +58 -0
  51. package/dist/index.cjs +3742 -524
  52. package/dist/index.d.cts +12 -1
  53. package/dist/index.d.ts +12 -1
  54. package/dist/index.js +3742 -525
  55. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -76,6 +76,17 @@ interface AtlasIndex {
76
76
  */
77
77
  declare function findCounty(stateSlug: string, countySlug: string): CountyRecord | undefined;
78
78
 
79
+ /**
80
+ * Look up a county by its 5-digit county FIPS code (state FIPS + county FIPS,
81
+ * e.g. "17089" for Kane County, IL). Scans all populated states.
82
+ * Returns undefined if the FIPS isn't a 5-digit string or no county matches.
83
+ *
84
+ * @example
85
+ * findCountyByFips("17089")
86
+ * // → { county: "Kane", stateSlug: "illinois", endpoints: [...], ... }
87
+ */
88
+ declare function findCountyByFips(fips: string): CountyRecord | undefined;
89
+
79
90
  /**
80
91
  * Look up a state's full county list by state slug (e.g. "illinois", "new-york").
81
92
  * Returns undefined if the state isn't populated in the bundled data yet.
@@ -110,4 +121,4 @@ interface Atlas {
110
121
  }
111
122
  declare const atlas: Atlas;
112
123
 
113
- export { type Atlas, type AtlasIndex, type ContactInfo, type CountyRecord, type EndpointRecord, type EndpointStatus, type LicenseType, type SearchField, type ServiceType, type StateFile, type StateIndexEntry, type VerifiedBy, atlas, atlasIndex, buildParcelLookupDeepLink, countyPath, countySlugFromName, findCounty, findState, listCountiesByState, listStates, slugify, statePath };
124
+ export { type Atlas, type AtlasIndex, type ContactInfo, type CountyRecord, type EndpointRecord, type EndpointStatus, type LicenseType, type SearchField, type ServiceType, type StateFile, type StateIndexEntry, type VerifiedBy, atlas, atlasIndex, buildParcelLookupDeepLink, countyPath, countySlugFromName, findCounty, findCountyByFips, findState, listCountiesByState, listStates, slugify, statePath };
package/dist/index.d.ts CHANGED
@@ -76,6 +76,17 @@ interface AtlasIndex {
76
76
  */
77
77
  declare function findCounty(stateSlug: string, countySlug: string): CountyRecord | undefined;
78
78
 
79
+ /**
80
+ * Look up a county by its 5-digit county FIPS code (state FIPS + county FIPS,
81
+ * e.g. "17089" for Kane County, IL). Scans all populated states.
82
+ * Returns undefined if the FIPS isn't a 5-digit string or no county matches.
83
+ *
84
+ * @example
85
+ * findCountyByFips("17089")
86
+ * // → { county: "Kane", stateSlug: "illinois", endpoints: [...], ... }
87
+ */
88
+ declare function findCountyByFips(fips: string): CountyRecord | undefined;
89
+
79
90
  /**
80
91
  * Look up a state's full county list by state slug (e.g. "illinois", "new-york").
81
92
  * Returns undefined if the state isn't populated in the bundled data yet.
@@ -110,4 +121,4 @@ interface Atlas {
110
121
  }
111
122
  declare const atlas: Atlas;
112
123
 
113
- export { type Atlas, type AtlasIndex, type ContactInfo, type CountyRecord, type EndpointRecord, type EndpointStatus, type LicenseType, type SearchField, type ServiceType, type StateFile, type StateIndexEntry, type VerifiedBy, atlas, atlasIndex, buildParcelLookupDeepLink, countyPath, countySlugFromName, findCounty, findState, listCountiesByState, listStates, slugify, statePath };
124
+ export { type Atlas, type AtlasIndex, type ContactInfo, type CountyRecord, type EndpointRecord, type EndpointStatus, type LicenseType, type SearchField, type ServiceType, type StateFile, type StateIndexEntry, type VerifiedBy, atlas, atlasIndex, buildParcelLookupDeepLink, countyPath, countySlugFromName, findCounty, findCountyByFips, findState, listCountiesByState, listStates, slugify, statePath };