Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add platform and arch to the default user-agent

  • Loading branch information...
commit e8f5aae81579ddeba00d110f32c810fdada9899f 1 parent da676dc
@jhs jhs authored isaacs committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -37,7 +37,7 @@ also be accepted.
* `strict-ssl` {Boolean} Whether or not to be strict with SSL
certificates. Default = `true`
* `user-agent` {String} User agent header to send. Default =
- `"node/{process.version}"`
+ `"node/{process.version} {process.platform} {process.arch}"`
* `log` {Object} The logger to use. Defaults to `require("npmlog")` if
that works, otherwise logs are disabled.
* `fetch-retries` {Number} Number of times to retry on GET failures.
Please sign in to comment.
Something went wrong with that request. Please try again.