# MSW: share API mocks across browsers and Node.js

Canonical source : [MSW: share API mocks across browsers and Node.js](<https://sebastien.rigaux.be/en/tech-watch/links/msw-share-api-mocks-across-browsers-and-node-js>)

Mock Service Worker describes network responses using handlers based on the Fetch API. The same mocks support development and testing without tying scenarios to a particular HTTP client.

- Selected on : 2023-05-06

- Entry updated : 2026-11-07T20:32:37+0000

- Format : Tool

- Source language : EN

Original resource : [MSW: share API mocks across browsers and Node.js](<https://mswjs.io/>)

Tags : Mock Service Worker · [Testing](<https://sebastien.rigaux.be/en/tech-watch/tags/testing>) · [JavaScript](<https://sebastien.rigaux.be/en/tech-watch/tags/javascript>)

Available versions : [Français](<https://sebastien.rigaux.be/veille/liens/msw-partager-ses-mocks-d-api-entre-navigateur-et-node-js>) · [English](<https://sebastien.rigaux.be/en/tech-watch/links/msw-share-api-mocks-across-browsers-and-node-js>)

[Back to tech watch](<https://sebastien.rigaux.be/en/tech-watch>)
