Skip to content

Commit

Permalink
Fixed typo + trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-ismael committed Mar 24, 2023
1 parent 025c62b commit c2b775f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Unfurl
# Unfurl

A metadata scraper with support for oEmbed, Twitter Cards and Open Graph Protocol for Node.js (>=v8.0.0)

Expand Down Expand Up @@ -26,10 +26,10 @@ npm install unfurl.js
---
#### opts - `object` of:
- `oembed?: boolean` - support retrieving oembed metadata
- `timeout? number` - req/res timeout in ms, it resets on redirect. 0 to disable (OS limit applies)
- `timeout? number` - req/res timeout in ms, it resets on redirect. 0 to disable (OS limit applies)
- `follow?: number` - maximum redirect count. 0 to not follow redirect
- `compress?: boolean` - support gzip/deflate content encoding
- `size?: number` - maximum response body size in bytes. 0 to disable
- `compress?: boolean` - support gzip/deflate content encoding
- `size?: number` - maximum response body size in bytes. 0 to disable
- `headers?: Headers | Record<string, string> | Iterable<readonly [string, string]> | Iterable<Iterable<string>>` - map of request headers, overrides the defaults

Default headers:
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ function parse(url: string) {
}
}

// some fields map to the same name so once nicwe have one stick with it
// some fields map to the same name so once we have one stick with it
target[item.name] || (target[item.name] = metaValue);
}

Expand Down

0 comments on commit c2b775f

Please sign in to comment.