Skip to content

Commit 9f7017b

Browse files
chantorakMohammadseantomburke
authored
hpagent option (#131)
* hpagent option * updated docs, readme * Update sitemapper.js * updating package-lock.json --------- Co-authored-by: Mohammad <[email protected]> Co-authored-by: Sean Thomas Burke <[email protected]>
1 parent 5a56e48 commit 9f7017b

File tree

4 files changed

+128
-286
lines changed

4 files changed

+128
-286
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ You can add options on the initial Sitemapper object when instantiating it.
7878
+ `rejectUnauthorized`: (Boolean) - If true, it will throw on invalid certificates, such as expired or self-signed ones. Default: True
7979
+ `lastmod`: (Number) - Timestamp of the minimum lastmod value allowed for returned urls
8080
+ `field` : (Object) - An object of fields to be returned from the sitemap. For Example: `{ loc: true, lastmod: true, changefreq: true, priority: true }`. Leaving a field out has the same effect as `field: false`. If not specified sitemapper defaults to returning the 'classic' array of urls.
81+
+ `proxyAgent`: (HttpProxyAgent|HttpsProxyAgent) - instance of npm "hpagent" HttpProxyAgent or HttpsProxyAgent to be passed to npm "got"
8182

8283
```javascript
8384

0 commit comments

Comments
 (0)