Skip to content

Commit

Permalink
Merge pull request #23 from segmentio/fix-tests
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
zeke authored Mar 26, 2018
2 parents f1c83cf + e572e5d commit 8585fac
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 47 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: node_js
node_js:
- 8
18 changes: 0 additions & 18 deletions Makefile

This file was deleted.

15 changes: 6 additions & 9 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
# is-url

Check whether a string is a URL.
Check whether a string is a URL.

## Installation

```
$ component install segmentio/is-url
```
```
$ npm install is-url
```sh
npm install is-url
```

## API

### isUrl(string)
### `isUrl(string)`

Checks whether `string` is a URL.
Returns a Boolean indicating whether `string` is a URL.

## License

MIT
MIT
19 changes: 0 additions & 19 deletions component.json

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "is-url",
"description": "Check whether a string is a URL.",
"repository": "https://github.com/segmentio/is-url",
"version": "1.2.3",
"scripts": {
"test": "make test"
"test": "mocha --reporter spec"
},
"license": "MIT",
"devDependencies": {
Expand Down

0 comments on commit 8585fac

Please sign in to comment.