GitShow/sindresorhus/is-relative-url
sindresorhus

is-relative-url

Check if a URL is relative

by sindresorhus
Star on GitHubForknpm

JavaScript

26 stars6 forks4 contributorsQuiet · 11mo agoSince 2014v4.1.0MIT

Meet the team

See all 4 on GitHub →
sindresorhus
sindresorhus20 contributions
BendingBender
BendingBender1 contribution
jsdevel
jsdevel1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript95.5%
TypeScript4.5%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
ghost
package deprecated ClosedIssue

https://developer.mozilla.org/en-US/docs/Web/API/URL/canParse_static does basically the same thing

ghost · 11mo ago
tommedema
data-uri is relative?ClosedIssue

https://runkit.com/embed/16r7n4khlh2f I'd argue this should return false. Wdyt? I can make a PR.

tommedema · 11mo ago
lockieluke
Incorrectly identifying absolute URLs as relativeClosedIssue

is seen as a relative URL

lockieluke · 3y ago
Structured data for AI agents

Repository: sindresorhus/is-relative-url. Description: Check if a URL is relative Stars: 26, Forks: 6. Primary language: JavaScript. Languages: JavaScript (95.5%), TypeScript (4.5%). License: MIT. Latest release: v4.1.0 (11mo ago). Open PRs: 0, open issues: 0. Last activity: 11mo ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, jsdevel, Richienb.

·@ofershap

Replace github.com with gitshow.dev