parse-accept-language

2.0.0 • Public • Published

NPM version Build Status Dependency Status

parse-accept-language

Parse 'Accept-Language' header and cache the result in request.

Install

$ npm install --save parse-accept-language

Usage

var parseAcceptLanguage = require('parse-accept-language');
 
var pal = parseAcceptLanguage(req);

License

MIT © Damian Krzeminski

Package Sidebar

Install

npm i parse-accept-language

Weekly Downloads

130

Version

2.0.0

License

MIT

Unpacked Size

2.99 kB

Total Files

5

Last publish

Collaborators

  • pirxpilot