universal-user-agent
Get a user agent string in both browser and node
Last updated 6 years ago by gr2m .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install universal-user-agent 
SYNC missed versions from official npm registry.

universal-user-agent

Get a user agent string across all JavaScript Runtime Environments

@latest Build Status

import { getUserAgent } from "universal-user-agent";

const userAgent = getUserAgent();
// userAgent will look like this
// in browser: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0"
// in node: Node.js/v8.9.4 (macOS High Sierra; x64)

License

ISC

Current Tags

  • 7.0.2                                ...           latest (a year ago)
  • 6.0.1                                ...           release-6.x (a year ago)

15 Versions

  • 6.0.1                                ...           a year ago
  • 7.0.2                                ...           a year ago
  • 7.0.1                                ...           2 years ago
  • 7.0.0                                ...           3 years ago
  • 6.0.0                                ...           4 years ago
  • 5.0.0                                ...           5 years ago
  • 4.0.1                                ...           5 years ago
  • 4.0.0                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 2.1.0                                ...           6 years ago
  • 2.0.3                                ...           6 years ago
  • 2.0.2                                ...           6 years ago
  • 2.0.1                                ...           6 years ago
  • 2.0.0                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 6
Last Day 0
Last Week 6
Last Month 0
Dependencies (1)
Dev Dependencies (12)

Copyright 2013 - present © cnpmjs.org | Home |