Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

detect-mobile-browser

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-mobile-browser - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc