nofloc

1.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i nofloc

    Weekly Downloads

    9

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.32 kB

    Total Files

    4

    Last publish

    Collaborators

    • oboz