# Update Script Maintenance Report

Date: 2026-03-03

- Modernized scraper compatibility in `scripts/scrape.js`:
  - switched source page to HTTPS,
  - replaced deprecated `path.existsSync` with `fs.existsSync`,
  - migrated OSGB36 conversion from unmaintained `proj4js` usage to `proj4`,
  - added missing CLI command wiring in npm scripts.
- Reworked force metadata collection to use live API endpoint `https://data.police.uk/api/forces`.
  - `npm run scrapelinks` now stores force metadata in `cache/linklist.json`.
  - `npm run scrapeforces` now writes `data/forces.csv` and `data/forces.json` from API results.
- Added `package.json` and lockfile for reproducible local/CI runs.
- Added first GitHub Actions automation workflow at `.github/workflows/actions.yml` to refresh metadata on schedule.
- Updated `scripts/README.md` to document runnable commands.
