Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1012 B
44 lines
1012 B
# is-absolute-url [![Build Status](https://travis-ci.org/sindresorhus/is-absolute-url.svg?branch=master)](https://travis-ci.org/sindresorhus/is-absolute-url)
|
|
|
|
> Check if a URL is absolute
|
|
|
|
|
|
## Install
|
|
|
|
```
|
|
$ npm install is-absolute-url
|
|
```
|
|
|
|
|
|
## Usage
|
|
|
|
```js
|
|
const isAbsoluteUrl = require('is-absolute-url');
|
|
|
|
isAbsoluteUrl('https://sindresorhus.com/foo/bar');
|
|
//=> true
|
|
|
|
isAbsoluteUrl('//sindresorhus.com');
|
|
//=> false
|
|
|
|
isAbsoluteUrl('foo/bar');
|
|
//=> false
|
|
```
|
|
|
|
|
|
## Related
|
|
|
|
See [is-relative-url](https://github.com/sindresorhus/is-relative-url) for the inverse.
|
|
|
|
|
|
---
|
|
|
|
<div align="center">
|
|
<b>
|
|
<a href="https://tidelift.com/subscription/pkg/npm-is-absolute-url?utm_source=npm-is-absolute-url&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
|
</b>
|
|
<br>
|
|
<sub>
|
|
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
|
</sub>
|
|
</div>
|
|
|