@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.
- package/README.md +22 -3
- package/data/alabama.json +52 -6
- package/data/alaska.json +1 -1
- package/data/arizona.json +3 -3
- package/data/arkansas.json +143 -0
- package/data/california.json +65 -59
- package/data/colorado.json +6 -6
- package/data/connecticut.json +105 -3
- package/data/delaware.json +46 -0
- package/data/florida.json +188 -32
- package/data/georgia.json +44 -4
- package/data/hawaii.json +82 -0
- package/data/illinois.json +13 -12
- package/data/index.json +53 -53
- package/data/indiana.json +3 -3
- package/data/kansas.json +2 -2
- package/data/kentucky.json +1 -1
- package/data/louisiana.json +7 -7
- package/data/maine.json +2 -2
- package/data/maryland.json +94 -0
- package/data/massachusetts.json +2 -2
- package/data/michigan.json +5 -5
- package/data/minnesota.json +5 -5
- package/data/mississippi.json +8 -10
- package/data/missouri.json +49 -2
- package/data/montana.json +196 -0
- package/data/nebraska.json +3 -3
- package/data/nevada.json +2 -2
- package/data/new-hampshire.json +1 -1
- package/data/new-jersey.json +6 -6
- package/data/new-mexico.json +49 -0
- package/data/new-york.json +8 -8
- package/data/north-carolina.json +11 -11
- package/data/north-dakota.json +57 -0
- package/data/ohio.json +81 -3
- package/data/oklahoma.json +49 -0
- package/data/oregon.json +10 -16
- package/data/pennsylvania.json +3 -3
- package/data/rhode-island.json +1 -1
- package/data/south-carolina.json +18 -19
- package/data/south-dakota.json +58 -0
- package/data/tennessee.json +9 -8
- package/data/texas.json +216 -17
- package/data/utah.json +4 -4
- package/data/vermont.json +2 -2
- package/data/virginia.json +44 -2
- package/data/washington.json +9 -9
- package/data/west-virginia.json +176 -0
- package/data/wisconsin.json +1 -1
- package/data/wyoming.json +58 -0
- package/dist/index.cjs +3742 -524
- package/dist/index.d.cts +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +3742 -525
- 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 };
|