{"library":"referrer-policy","type":"library","category":null,"description":"Express/Connect middleware to set the Referrer-Policy HTTP header, part of the Helmet.js security suite. Version 1.2.0 is stable and works with Node >=4. Ships TypeScript definitions. Allows specifying one of the standard policy values (e.g., no-referrer, same-origin, strict-origin-when-cross-origin) or an array of policies for fallback. Lightweight and focused, with no external dependencies.","language":"javascript","status":"active","version":"1.2.0","tags":["javascript","helmet","security","express","connect","referer","referrer","privacy","typescript"],"install":[{"cmd":"npm install referrer-policy","imports":["import referrerPolicy from 'referrer-policy'","const referrerPolicy = require('referrer-policy')","import referrerPolicy from 'referrer-policy'"]},{"cmd":"yarn add referrer-policy","imports":[]},{"cmd":"pnpm add referrer-policy","imports":[]}],"homepage":"https://helmetjs.github.io/docs/referrer-policy/","github":"https://github.com/helmetjs/referrer-policy","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/referrer-policy","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/referrer-policy/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}