Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Aug 5, 2023
1 parent 87ebc1d commit 62e6e7e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@ $ npm i --save extract-domain

### API

/\*\*

- @param {Urls} urls ["https://www.google.com", "https://www.github.com"] or "https://www.google.com"
- @param {GetDomainOptions} opts `{ tld: true }` permit to get Top Level Domain like `*.co.uk`
- @returns {Urls | Promise<Urls>} Returns URL(s) or a promise of URL(s) if the PSL lib is being used
\*/

```js
const res = extractDomain(urls, options);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "extract-domain",
"version": "4.1.0",
"version": "4.1.1",
"description": "Extract domain name from URL",
"type": "module",
"source": "index.ts",
Expand Down

0 comments on commit 62e6e7e

Please sign in to comment.