Foreign Fetch (Service Worker) Middleware for Express.
$ npm install --save foreign-fetch-middleware
const foreignFetchMiddleware = require('foreign-fetch-middleware');
app.use(foreignFetchMiddleware('./foreign-fetch.sw'));
// ^ app is your express app.
Type: string
Path to your foregin-fetch.sw
-
Some
e2e
testing. -
'Origin-Trial'
header?
MIT © Hemanth.HM