sindresorhus / file-urlLinks
Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
☆62Updated last year
Alternatives and similar repositories for file-url
Users that are interested in file-url are comparing it to the libraries listed below
Sorting:
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Extract the article title of a HTML document☆55Updated last month
- Check if a path is a file, directory, or symlink☆79Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Check if argv has a specific flag☆93Updated 4 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Create a MD5 hash with hex encoding☆46Updated last year
- Copy a file☆121Updated 2 months ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Get a Gravatar image from an identifier, such as an email☆41Updated 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
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Slice a string with ANSI escape codes☆50Updated last month
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Create an array without duplicates☆73Updated 4 years ago
- Split lines into an array of lines☆45Updated last year
- Linkify GitHub issue references☆47Updated last month
- Strip the final newline character from a string/buffer☆36Updated 11 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Get the version of a binary in semver format☆41Updated last year
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Split a string at one or more indices☆24Updated 4 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Regular expression for matching reserved filename characters☆50Updated last month
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago