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 0.1.6 to 0.1.7

2

package.json
{
"name": "user-agent-parse",
"description": "rudimentary browser user-agent parser",
"version": "0.1.6",
"version": "0.1.7",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -10,7 +10,7 @@ # NodeJs User Agent Parse

## Example
```javascript
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

@@ -17,0 +17,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