{"library":"express-negotiator","type":"library","category":null,"description":"An Express/Connect middleware for content negotiation of static files, inspired by Apache mod_negotiation. Version 1.1.0 has no recent updates. It rewrites req.url based on exact matches, locale GET parameter, cookie, and Accept-Language/Accept headers, in priority order. Differentiates from other negotiation libraries by integrating directly with express.static and handling ETags for conditional requests. Requires cookieParser when using cookie-based locale.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","http","content negotiation","connect","accept","accept-language","cookie","express","localization"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-negotiator","imports":["import negotiator from 'express-negotiator'","import negotiator from 'express-negotiator'","const negotiator = require('express-negotiator')"]},{"cmd":"yarn add express-negotiator","imports":[]},{"cmd":"pnpm add express-negotiator","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-negotiator","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/express-negotiator/compatibility"}}