Middleware to block Google FLoC tracking in Express and Koa
Middleware add of modify permissions-policy header for blocking FLoC.
Run npm install nofloc --save
to add package.
const { noflocExpress } = require("nofloc");
// some code...
app.use(noflocExpress());
const { noflocKoa } = require("nofloc");
// some code...
app.use(noflocKoa());