Initalize
This commit is contained in:
44
node_modules/is-absolute-url/readme.md
generated
vendored
Normal file
44
node_modules/is-absolute-url/readme.md
generated
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
# is-absolute-url [](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>
|
||||
Reference in New Issue
Block a user