Skip to content

Commit

Permalink
Meta tweaks
Browse files Browse the repository at this point in the history
Fixes #68
  • Loading branch information
sindresorhus committed Nov 26, 2019
1 parent b67cb71 commit 584d79a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: node_js
node_js:
- '12'
- '10'
- '8'
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Check if the internet connection is up",
"license": "MIT",
"repository": "sindresorhus/is-online",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "[email protected]",
Expand Down Expand Up @@ -41,7 +42,9 @@
"socket",
"reachable",
"reachability",
"accessible"
"accessible",
"no",
"disconnected"
],
"dependencies": {
"got": "^9.6.0",
Expand All @@ -50,9 +53,9 @@
"public-ip": "^3.0.0"
},
"devDependencies": {
"ava": "^1.4.1",
"tsd": "^0.7.2",
"xo": "^0.24.0"
"ava": "^2.4.0",
"tsd": "^0.11.0",
"xo": "^0.25.3"
},
"browser": "browser.js"
}
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ Type: `object`

##### timeout

Type: `number`<br>
Type: `number`\
Default: `5000`

Milliseconds to wait for a server to respond.

##### version

Type: `string`<br>
Values: `'v4'` `'v6'`<br>
Type: `string`\
Values: `'v4'` `'v6'`\
Default: `'v4'`

Internet Protocol version to use. This is an advanced option that is usually not necessary to be set, but it can prove useful to specifically assert IPv6 connectivity.
Expand Down

0 comments on commit 584d79a

Please sign in to comment.