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