sindresorhus / file-url
Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
☆61Updated 11 months ago
Alternatives and similar repositories for file-url:
Users that are interested in file-url are comparing it to the libraries listed below
- Extract the article title of a HTML document☆54Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Turn an object into a string of HTML attributes☆49Updated last year
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 10 months ago
- Check if a file path is a binary file☆44Updated 10 months ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- ES spec-compliant shim for String.prototype.padStart☆23Updated last week
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 weeks ago
- Get the version of a binary in semver format☆42Updated 11 months ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Check if an Iterable is empty☆22Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Get the version of a binary in semver format☆35Updated 11 months ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Linkify GitHub issue references☆46Updated 5 months ago
- Check if a value is an object☆40Updated 3 years ago
- Break out of a promise chain☆23Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Split lines into an array of lines☆44Updated last year