Big update!Introducing GitHub Bot Commands. Learn more
Socket
BlogLoveLog in
Book a demo

is-absolute-url

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Issues
File Explorer

Advanced tools

is-absolute-url

Check if a URL is absolute

    4.0.1latest

Version published
Maintainers
1
Weekly downloads
13,778,380
increased by1.33%

Weekly downloads

Changelog

Source

  • Internal changes (#16) 84ecee4

https://github.com/sindresorhus/is-absolute-url/compare/v4.0.0...v4.0.1

Readme

Source

is-absolute-url

Check if a URL is absolute

Install

$ npm install is-absolute-url

Usage

import isAbsoluteUrl from 'is-absolute-url'; isAbsoluteUrl('https://sindresorhus.com/foo/bar'); //=> true isAbsoluteUrl('//sindresorhus.com'); //=> false isAbsoluteUrl('foo/bar'); //=> false

See is-relative-url for the inverse.


Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Keywords

FAQs

What is is-absolute-url?

Check if a URL is absolute

Is is-absolute-url popular?

The npm package is-absolute-url receives a total of 13,284,845 weekly downloads. As such, is-absolute-url popularity was classified as popular.

Is is-absolute-url well maintained?

We found that is-absolute-url demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 11 Aug 2021
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc