File: /var/www/zaklada/html/node_modules/is-relative-url/readme.md
# is-relative-url [](https://travis-ci.org/sindresorhus/is-relative-url)
> Check if an URL is relative
## Install
```sh
$ npm install --save is-relative-url
```
## Usage
```js
var isRelativeUrl = require('is-relative-url');
isRelativeUrl('foo/bar');
//=> true
isRelativeUrl('http://sindresorhus.com/foo/bar');
//=> false
```
## Related
See [is-absolute-url](https://github.com/sindresorhus/is-absolute-url) for the inverse.
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)