Skip to content

Commit

Permalink
remove cruft and fix the test script
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke committed Mar 26, 2018
1 parent f1c83cf commit e1c30e1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 47 deletions.
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 e1c30e1

Please sign in to comment.