sindresorhus / is-relative-urlLinks
Check if a URL is relative
☆26Updated 3 months ago
Alternatives and similar repositories for is-relative-url
Users that are interested in is-relative-url are comparing it to the libraries listed below
Sorting:
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆20Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Updated 2 years ago
- Transform the first chunk in a stream☆28Updated 2 years ago
- Get the version of a binary in semver format☆42Updated last year
- Check if something is a generator function☆24Updated 3 years ago
- Convert a Source Map object to a comment☆16Updated 4 years ago
- Modify the filename in a path☆17Updated 3 years ago
- Clone and modify a RegExp instance☆24Updated 3 years ago
- Check if a Buffer/Uint8Array is a GIF image☆30Updated 3 years ago
- ES2015 Number.isNaN() ponyfill☆29Updated last year
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Updated 3 years ago
- Check if a Buffer/Uint8Array is a JPEG image☆27Updated 3 years ago
- Node's default require extensions as a separate module☆11Updated 3 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Strip UTF-8 byte order mark (BOM)☆22Updated 3 months ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Updated 3 years ago
- List of prototype properties for JavaScript types☆27Updated last year
- Create a revved file path☆21Updated 3 years ago
- Check if a value is an error constructor☆14Updated 4 years ago
- Get the user's default shell☆41Updated 3 months ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated 2 years ago
- Convert a time string to seconds: '0017' → 1337☆36Updated 4 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- ES2015 Number.isFinite() ponyfill☆20Updated 4 years ago
- normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)☆17Updated 3 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Updated 4 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆37Updated 2 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago