user-agent-parse
Advanced tools
Comparing version 0.1.6 to 0.1.7
{ | ||
"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 @@ |
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
14010