accept-language
Advanced tools
Comparing version 2.0.3 to 2.0.4
{ | ||
"name": "accept-language", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "HTTP Accept-Language parser for node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -20,8 +20,11 @@ accept-language [![Build Status](https://travis-ci.org/tinganho/node-accept-language.png)](https://travis-ci.org/tinganho/node-accept-language) | ||
console.log(accepLanguage.get('en-GB,en;q=0.8,sv')); | ||
// outputs: 'en-US' | ||
/* | ||
'en-US' | ||
*/ | ||
var language = acceptLanguage.parse('en-GB,en;q=0.8,sv'); | ||
console.log(language); | ||
/* | ||
/* | ||
[ | ||
@@ -35,2 +38,3 @@ { | ||
]; | ||
*/ | ||
@@ -37,0 +41,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
64
0
24187