1.0.1 • Published 3 years ago

nofloc v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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());