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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i nofloc

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

3.32 kB

Total Files

4

Last publish

Collaborators

  • oboz