{"name":"universal-user-agent","version":"7.0.3","type":"module","description":"Get a user agent string across all JavaScript Runtime Environments","exports":"./index.js","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/gr2m/universal-user-agent.git"},"keywords":[],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"ISC","scripts":{"lint":"prettier --check '*.{js,json,md}'","lint:fix":"prettier --write '*.{js,json,md}'","test":"npm run test:node && npm run test:types","test:bun":"bun test","test:node":"node index.test.js","test:deno":"deno test","test:types":"tsd"},"devDependencies":{"prettier":"^2.0.0","tsd":"^0.17.0"},"publishConfig":{"provenance":true},"_id":"universal-user-agent@7.0.3","gitHead":"14e67156e17dbde96660b6e98b64d673ffaaab56","bugs":{"url":"https://github.com/gr2m/universal-user-agent/issues"},"homepage":"https://github.com/gr2m/universal-user-agent#readme","_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A==","shasum":"c05870a58125a2dc00431f2df815a77fe69736be","tarball":"http://registry-npm.ywwl.com/universal-user-agent/download/universal-user-agent-7.0.3.tgz","fileCount":12,"unpackedSize":10095,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/universal-user-agent@7.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFjxG8xVYzLbsLQMIsyN2qghVwJyyk1W5M8dsHt4QOH+AiEAoMZlHnZxtW/ABdPOy99CFQ36FR6G/blDjHXToZa4MGM="}],"size":4354,"noattachment":false,"key":"/universal-user-agent/-/universal-user-agent-7.0.3.tgz"},"_npmUser":{"name":"gr2m","email":"gregor@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/universal-user-agent_7.0.3_1747020901266_0.27955472883826893"},"_hasShrinkwrap":false,"readme":"# universal-user-agent\n\n> Get a user agent string across all JavaScript Runtime Environments\n\n[![@latest](https://img.shields.io/npm/v/universal-user-agent.svg)](https://www.npmjs.com/package/universal-user-agent)\n[![Build Status](https://github.com/gr2m/universal-user-agent/workflows/Test/badge.svg)](https://github.com/gr2m/universal-user-agent/actions/workflows/test.yml?query=workflow%3ATest)\n\n```js\nimport { getUserAgent } from \"universal-user-agent\";\n\nconst userAgent = getUserAgent();\n// userAgent will look like this\n// in browser: \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0\"\n// in node: Node.js/v8.9.4 (macOS High Sierra; x64)\n```\n\n## License\n\n[ISC](LICENSE.md)\n","publish_time":1747020901466,"_cnpm_publish_time":1747020901466,"dist-tags":{"latest":"7.0.3","release-6.x":"6.0.1"}}