spa/.claude/skills/changelog-generator/node_modules/universal-user-agent
Yvan 6584c91ed1 init 2025-12-30 15:44:36 +08:00
..
.github/workflows init 2025-12-30 15:44:36 +08:00
CODE_OF_CONDUCT.md init 2025-12-30 15:44:36 +08:00
LICENSE.md init 2025-12-30 15:44:36 +08:00
README.md init 2025-12-30 15:44:36 +08:00
SECURITY.md init 2025-12-30 15:44:36 +08:00
index.d.ts init 2025-12-30 15:44:36 +08:00
index.js init 2025-12-30 15:44:36 +08:00
index.test-d.ts init 2025-12-30 15:44:36 +08:00
index.test.js init 2025-12-30 15:44:36 +08:00
package.json init 2025-12-30 15:44:36 +08:00

README.md

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