act/pkg/runner/testdata/actions/node16/node_modules/universal-user-agent
dependabot[bot] 3939f48e6d
build(deps): bump megalinter/megalinter from 7.1.0 to 7.2.1 (#1931)
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter) from 7.1.0 to 7.2.1.
- [Release notes](https://github.com/megalinter/megalinter/releases)
- [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oxsecurity/megalinter/compare/v7.1.0...v7.2.1)

---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 13:37:31 +00:00
..
dist-node build(deps): bump megalinter/megalinter from 7.1.0 to 7.2.1 (#1931) 2023-08-08 13:37:31 +00:00
dist-src build(deps): bump megalinter/megalinter from 7.1.0 to 7.2.1 (#1931) 2023-08-08 13:37:31 +00:00
dist-types build(deps): bump megalinter/megalinter from 7.1.0 to 7.2.1 (#1931) 2023-08-08 13:37:31 +00:00
dist-web build(deps): bump megalinter/megalinter from 7.1.0 to 7.2.1 (#1931) 2023-08-08 13:37:31 +00:00
LICENSE.md build(deps): bump megalinter/megalinter from 7.1.0 to 7.2.1 (#1931) 2023-08-08 13:37:31 +00:00
README.md build(deps): bump megalinter/megalinter from 7.1.0 to 7.2.1 (#1931) 2023-08-08 13:37:31 +00:00
package.json build(deps): bump megalinter/megalinter from 7.1.0 to 7.2.1 (#1931) 2023-08-08 13:37:31 +00:00

README.md

universal-user-agent

Get a user agent string in both browser and node

@latest Build Status Greenkeeper

const { getUserAgent } = require("universal-user-agent");
// or 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)

Credits

The Node implementation was originally inspired by default-user-agent.

License

ISC