sindresorhus / protocolifyLinks
Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths
☆24Updated 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☆17Updated 3 years ago
- Clone and modify a RegExp instance☆23Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆20Updated last year
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 4 years ago
- Check if a value is a Blob☆23Updated last year
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Get the version of a binary in semver format☆41Updated last year
- Get the URL from a web shortcut file☆13Updated 4 years ago
- Check if something is a generator function☆23Updated 3 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆23Updated 3 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 3 years ago
- Modify the values of an object☆28Updated 4 years ago
- Check if a value is a function☆28Updated 4 years ago
- Sort an array of numbers☆17Updated last month
- Lowercase the keys of an object☆40Updated 2 years ago
- Split a string at one or more indices☆24Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the passwd user entry from a username or uid☆29Updated 3 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 4 years ago
- Transform the first chunk in a stream☆27Updated last year
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆56Updated 3 years ago
- Check if a value is an error constructor☆13Updated 4 years ago
- List of prototype properties for JavaScript types☆26Updated last year
- Similar to String#trim() but removes only whitespace on the right☆22Updated 4 years ago
- Check if a file path is a compressed file☆19Updated last year
- Get the avatar of a GitHub user☆21Updated 4 years ago
- Alphabetically sort an array of strings☆39Updated 4 years ago
- Convert a Source Map object to a comment☆15Updated 4 years ago
- Repeat a string - fast☆35Updated 4 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated last year