intercept the reqeust made by 'XMLHttpRequest' or 'fetch' API in browser, response a mock data base on suchjs.
What is the suchjs/such-mock-browser GitHub project? Description: "intercept the reqeust made by 'XMLHttpRequest' or 'fetch' API in browser, response a mock data base on suchjs.". Written in TypeScript. Explain what it does, its main use cases, key features, and who would benefit from using it.
Question is copied to clipboard — paste it after the AI opens.
Clone via HTTPS
Clone via SSH
Download ZIP
Download master.zipReport bugs or request features on the such-mock-browser issue tracker:
Open GitHub Issues