SharePoint REST API Proxy for Node.js and Express local serve. Current stable version is 3.3.6. Release cadence is moderate with periodic updates. Key differentiators: supports SharePoint Online and On-Prem (2019, 2016, 2013, limited 2010), proxies REST API, CSOM, SOAP, and custom services, offers multiple modes (API proxy, socket gateway server, socket gateway client, custom Express embed). Ships TypeScript types. Commonly used with SPFx and PnP JS for local development against real SharePoint data.
npm install sp-rest-proxyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a local Express server that proxies SharePoint REST API calls to a remote instance using configuration from private.json.
Update private.json format per documentation; use sp-request for auth.
Update to v3.x via npm install sp-rest-proxy@latest
Keep sp-rest-proxy version consistent across gateway servers and clients.
Run 'npm install sp-rest-proxy' and ensure import uses 'const { RestProxy } = require('sp-rest-proxy')'Verify configPath and credentials. For Online, reauthenticate via device login.
Change settings.port to an available port (e.g., 8081) or kill the process using the port.