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

user-agent-parse

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

user-agent-parse - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

15

package.json
{
"name": "user-agent-parse",
"description": "user-agent parser",
"version": "1.0.4",
"version": "1.0.5",
"repository": {

@@ -10,3 +10,4 @@ "type": "git",

"author": {
"name": "Jujhar Singh"
"name": "Jujhar Singh",
"email": "jujhar@jujhar.com"
},

@@ -17,6 +18,10 @@ "main": "index",

},
"readme": "# node-user-agent-parse## Overview Parse user agents a bit like PHP's get_browser() http://php.net/manual/en/function.get-browser.php ## Example var userAgent = require('user-agent') userAgent.parse('Mozilla/5.0 (Windows; U; Windows NT 5.1; en) AppleWebKit/526.9 (KHTML, like Gecko) Version/4.0dp1 Safari/526.8') // => { name: 'safari', version: '4.0dp1', os: 'Windows XP', full: '... same string as above ...', device_type:'desktop' } ## Credits Heavily Based (Blatantly ripped from *ahem*) on https://github.com/soldair/node-ua-device-type and https://github.com/jujhars13/node-user-agent-parse ## TODO BDD using vows ##License License is MIT, go nuts. That's how we roll here at Buto. http://opensource.org/licenses/mit-license.php",
"keywords": [
"browser",
"parse"
],
"readme": "# node-user-agent-parse\n\n ## Overview\n\n Parse user agents a bit like PHP's get_browser() http://php.net/manual/en/function.get-browser.php\n\n ## Example\n\n var userAgent = require('user-agent')\n userAgent.parse('Mozilla/5.0 (Windows; U; Windows NT 5.1; en) AppleWebKit/526.9 (KHTML, like Gecko) Version/4.0dp1 Safari/526.8')\n // => { name: 'safari', version: '4.0dp1', os: 'Windows XP', full: '... same string as above ...', device_type:'desktop' }\n ## Credits\n\n Heavily Based (Blatantly ripped from *ahem*) on https://github.com/soldair/node-ua-device-type and https://github.com/jujhars13/node-user-agent-parse\n\n ## TODO\n\n BDD using vows\n\n ##License\n\n License is MIT, go nuts. That's how we roll here at Buto.\n\n http://opensource.org/licenses/mit-license.php\n\n",
"readmeFilename": "README.md",
"_id": "user-agent-parse@0.1.0",
"_id": "user-agent-parse@1.0.5",
"_from": "user-agent-parse@"
}
}
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