sindresorhus / protocolifyLinks
Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths
☆25Updated 3 years ago
Alternatives and similar repositories for protocolify
Users that are interested in protocolify are comparing it to the libraries listed below
Sorting:
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Clone and modify a RegExp instance☆24Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Updated 2 years ago
- Get the URL from a web shortcut file☆14Updated 4 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 4 years ago
- Check if a value is a Blob☆24Updated 2 years ago
- Lowercase the keys of an object☆41Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Modify the values of an object☆29Updated 4 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
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated 2 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆20Updated 3 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Convert a Source Map object to a comment☆16Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Updated 3 years ago
- Check if a value is an error constructor☆14Updated 4 years ago
- Sort an array of numbers☆18Updated 3 months ago
- Get the number of days in a month☆27Updated 4 years ago
- Get the avatar of a GitHub user☆21Updated 4 years ago
- Transform the first chunk in a stream☆28Updated 2 years ago
- Get the path to the user home directory☆13Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Updated 4 years ago
- Get the passwd user entry from a username or uid☆30Updated 3 years ago
- Check whether a binary version satisfies a semver range☆24Updated last year
- Check if a string is a scoped npm package name☆25Updated 3 years ago
- Check if a value is a function☆29Updated 4 years ago
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆18Updated 4 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Updated 4 years ago
- Check if a file path is a compressed file☆19Updated last year