sindresorhus / is-relative-url
Check if a URL is relative
☆23Updated 2 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
- Returns an array filled with the specified input☆42Updated 2 years ago
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Create a revved file path☆20Updated 2 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Transform the first chunk in a stream☆26Updated last year
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Check if a file path is a compressed file☆17Updated 9 months ago
- Check if something is a generator function☆22Updated 2 years ago
- Get the npm config☆37Updated 5 months ago
- Check if a value is a function☆27Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Check if a number is in a given range☆21Updated 4 years ago
- Clone and modify a RegExp instance☆22Updated 2 years ago
- Lowercase the keys of an object☆40Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Convert a time string to seconds: '0017' → 1337☆35Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 9 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Conditional promise chains☆60Updated 3 years ago
- Get the user's default shell☆40Updated 3 years ago
- Simple cache config handling for your app or module☆21Updated 7 years ago
- Ensure a path doesn't contain null bytes☆13Updated 2 years ago
- Get the version of a binary in semver format☆42Updated 9 months ago
- Check if a file is executable☆31Updated 6 years ago
- Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds☆53Updated 2 years ago
- Get the path to this package - Useful for testing☆21Updated 3 years ago