Skip to content

Commit

Permalink
Updates README
Browse files Browse the repository at this point in the history
  • Loading branch information
zrrrzzt committed Jul 13, 2016
1 parent e2dcdc2 commit 81507f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $ npm i url-status-code
'use strict'

const urlStatusCode = require('./lib/check-url-status')
const url = 'https://google.com'
const url = 'https://www.npmjs.com'

urlStatusCode(url, (error, statusCode) => {
if (error) {
Expand All @@ -26,5 +26,5 @@ urlStatusCode(url, (error, statusCode) => {
}
})

// => 302
// => 200
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "url-status-code",
"description": "Get status code for url",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",
"author": {
"name": "Geir Gåsodden",
Expand Down

0 comments on commit 81507f0

Please sign in to comment.