{"id":28684882,"url":"https://github.com/node-modules/default-user-agent","last_synced_at":"2025-06-14T03:07:30.225Z","repository":{"id":14965410,"uuid":"17690266","full_name":"node-modules/default-user-agent","owner":"node-modules","description":"Default user agent string for Node.js http request","archived":false,"fork":false,"pushed_at":"2024-01-12T06:27:41.000Z","size":51,"stargazers_count":11,"open_issues_count":3,"forks_count":6,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-05-07T22:38:06.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"smallSohoSolo/solo-ci","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/node-modules.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-03-13T01:20:23.000Z","updated_at":"2024-01-22T08:31:29.000Z","dependencies_parsed_at":"2024-06-18T15:26:12.580Z","dependency_job_id":"421d7aaa-761b-4fcc-bed4-585c7cd977e1","html_url":"https://github.com/node-modules/default-user-agent","commit_stats":{"total_commits":8,"total_committers":5,"mean_commits":1.6,"dds":0.625,"last_synced_commit":"95c73ce63c62b00164adc587ba6bf88ba278c3ec"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fdefault-user-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fdefault-user-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fdefault-user-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fdefault-user-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-modules","download_url":"https://codeload.github.com/node-modules/default-user-agent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fdefault-user-agent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259017665,"owners_count":22793247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-14T03:07:27.673Z","updated_at":"2025-06-14T03:07:30.219Z","avatar_url":"https://github.com/node-modules.png","language":"JavaScript","readme":"default-user-agent\n=======\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Gittip][gittip-image]][gittip-url]\n[![David deps][david-image]][david-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/default-user-agent.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/default-user-agent\n[travis-image]: https://img.shields.io/travis/node-modules/default-user-agent.svg?style=flat-square\n[travis-url]: https://travis-ci.org/node-modules/default-user-agent\n[coveralls-image]: https://img.shields.io/coveralls/node-modules/default-user-agent.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/node-modules/default-user-agent?branch=master\n[gittip-image]: https://img.shields.io/gittip/fengmk2.svg?style=flat-square\n[gittip-url]: https://www.gittip.com/fengmk2/\n[david-image]: https://img.shields.io/david/node-modules/default-user-agent.svg?style=flat-square\n[david-url]: https://david-dm.org/node-modules/default-user-agent\n[download-image]: https://img.shields.io/npm/dm/default-user-agent.svg?style=flat-square\n[download-url]: https://npmjs.org/package/default-user-agent\n\nDefault user agent string for Node.js http request\n\n## Install\n\n```bash\n$ npm install default-user-agent\n```\n\n## Usage\n\n```js\nvar ua = require('default-user-agent');\n\n// darwin\nconsole.log(ua()); // 'Node.js/0.11.15 (OS X Yosemite; x64)'\nconsole.log(ua('urllib', '0.0.1')); // 'urllib/0.0.1 Node.js/0.11.15 (OS X Yosemite; x64)'\n\n// linux\n// 'Node.js/0.11.15 (Linux 3.13; x64)'\n```\n\n## License\n\n[MIT](LICENSE.txt)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-modules%2Fdefault-user-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-modules%2Fdefault-user-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-modules%2Fdefault-user-agent/lists"}