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

detectmobilebrowsers

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detectmobilebrowsers - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "detectmobilebrowsers",
"version": "0.1.0",
"version": "0.1.1",
"description": "Mobile browser detection based on user-agent",

@@ -5,0 +5,0 @@ "author": "Bryant Williams <b.n.williams@gmail.com>",

@@ -13,3 +13,3 @@ # Mobile Redirection for Node.js and Express

app.use mobile.redirect 'http://m.domain.com'
app.user mobile.is_mobile()
app.use mobile.is_mobile()
app.get '/', (req, res) ->

@@ -16,0 +16,0 @@ res.json {is_mobile: req.is_mobile}

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