Sign In

@pondlog/source-usgs

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pondlog/source-usgs - npm Package Compare versions

Comparing version
0.1.1
to
0.1.2
+8
-7
package.json
{
"name": "@pondlog/source-usgs",
"version": "0.1.1",
"version": "0.1.2",
"description": "USGS Water Services (NWIS) API client: typed, Zod-validated, polite-rate-limited. Real-time and daily streamflow, gage height, and site metadata. Returns Result<T> instead of throwing.",

@@ -8,15 +8,16 @@ "keywords": [

"usgs",
"nwis",
"streamflow",
"water",
"hydrology",
"water",
"rivers",
"api-client",
"zod"
"zod",
"nwis"
],
"author": "Andrew Christison",
"license": "MIT",
"homepage": "https://github.com/andrewschristison/pondlog/tree/main/packages/source-usgs#readme",
"homepage": "https://github.com/andrewschristison/pondlog/tree/main/packages/source-usgs",
"repository": {
"type": "git",
"url": "git+https://github.com/andrewschristison/pondlog.git",
"url": "https://github.com/andrewschristison/pondlog",
"directory": "packages/source-usgs"

@@ -45,3 +46,3 @@ },

"zod": "^3.23.8",
"@pondlog/core": "^0.4.0"
"@pondlog/core": "^0.8.1"
},

@@ -48,0 +49,0 @@ "devDependencies": {

@@ -29,4 +29,4 @@ # @pondlog/source-usgs

- `bboxAround(coords, radiusKm)` — square bbox tuple around a point, ready for `searchSites({ bbox })`.
- `PARAMETER_CODES` — common USGS parameter constants (`DISCHARGE`, `GAGE_HEIGHT`, `WATER_TEMP_C`).
- `bboxAround(coords, radiusKm)`: square bbox tuple around a point, ready for `searchSites({ bbox })`.
- `PARAMETER_CODES`: common USGS parameter constants (`DISCHARGE`, `GAGE_HEIGHT`, `WATER_TEMP_C`).

@@ -43,3 +43,3 @@ ## Parameter codes (the ones you almost always want)

- `/iv/` (instantaneous) does **not** accept historic `startDT`/`endDT` — it
- `/iv/` (instantaneous) does **not** accept historic `startDT`/`endDT`. It
returns HTTP 301. Use `period` (relative-to-now) for /iv/, or `getDailyValues`

@@ -46,0 +46,0 @@ for historic data.