sindresorhus / is-relative-urlLinks
Check if a URL is relative
☆24Updated 3 years 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:
- Clone and modify a RegExp instance☆22Updated 3 years ago
- Transform the first chunk in a stream☆26Updated last year
- Check if a Buffer/Uint8Array is a GIF image☆28Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Returns an array filled with the specified input☆42Updated 3 years ago
- Get the version of a binary in semver format☆41Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Get the fullname of the current user☆47Updated last year
- Simplified high resolution timing☆81Updated 10 months ago
- Create a revved file path☆21Updated 3 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 3 years ago
- Convert a Source Map object to a comment☆15Updated 4 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Check if a file path is a compressed file☆17Updated last year
- Check if something is a generator function☆22Updated 3 years ago
- Get the user's default shell☆40Updated 3 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Get a pretty output of the original, minified, gzipped size of a string or buffer: 130 B → 91 B → 53 B (gzip)☆55Updated last year
- Strip the final newline character from a string/buffer☆36Updated 9 months ago
- Filter object keys and values into a new object☆103Updated last year
- normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)☆17Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 3 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds☆53Updated 3 years ago
- Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.☆32Updated 4 years ago