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
- Get the version of a binary in semver format☆42Updated last year
- Get the passwd user entry from a username or uid☆28Updated 3 years ago
- Check if a file path is a compressed file☆17Updated last year
- Get the URL from a web shortcut file☆13Updated 3 years ago
- Modify the values of an object☆27Updated 3 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Get the system default UID☆11Updated last year
- Strip the authentication part of a URL☆18Updated 3 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 3 years ago
- Check if a value is a function☆27Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 3 years ago
- Clone and modify a RegExp instance☆22Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Check if a value is a Blob☆22Updated last year
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Get a Gravatar image from an identifier, such as an email☆41Updated 3 years ago
- Modify the keys of an object☆15Updated 3 years ago
- Check if a value is an error constructor☆13Updated 4 years ago
- Convert a time string to seconds: '0017' → 1337☆35Updated 4 years ago
- Get the fullname of the current user☆47Updated last year
- Regular expression for matching scoped npm package names☆26Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 8 months ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 4 years ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Updated 3 years ago
- Check if something is a generator function☆22Updated 3 years ago