stricct-accepts
Higher level content negotiation based on accepts with strict validate.
Example
var accepts = ; var req = headers: ... accept: 'text/html, */*; q=0.1' console// -> false console// -> true
Higher level content negotiation based on accepts with strict validate.
var accepts = ; var req = headers: ... accept: 'text/html, */*; q=0.1' console// -> false console// -> true
npm i strict-accepts
1
1.0.1
ISC