Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nofloc

oboz12MIT1.0.1

Middleware to block Google FLoC tracking in Express or Koa

floc, chrome, google, privacy, express

readme

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