detect-mobile-browser
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "detect-mobile-browser", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "It is a very simple & small javascript plugin to detect all major modern mobile browsers.", | ||
@@ -5,0 +5,0 @@ "main": "detect-browser.js", |
@@ -38,3 +38,3 @@ [![NPM Version][npm-image]][npm-url] | ||
... | ||
//in req | ||
console.log(req.SmartPhone.isAny()); | ||
@@ -45,2 +45,8 @@ | ||
//in res locals to use in templates | ||
console.log(res.locals.SmartPhone.isAny()); | ||
... | ||
... | ||
}); | ||
@@ -47,0 +53,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
6480
71