sindresorhus / file-url
Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
☆61Updated last year
Alternatives and similar repositories for file-url:
Users that are interested in file-url are comparing it to the libraries listed below
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Extract the article title of a HTML document☆54Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Check if a file path is a binary file☆44Updated last year
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 11 months ago
- Check if an Iterable is empty☆22Updated 4 years ago
- ES spec-compliant shim for String.prototype.padStart☆23Updated last month
- Slice a string with ANSI escape codes☆47Updated 11 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 months ago
- Linkify GitHub issue references☆46Updated 7 months ago
- Get the number of days in a month☆27Updated 3 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Strip the final newline character from a string/buffer☆36Updated 6 months ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- Regular expression for matching issue references☆49Updated 7 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Check if a file path is a compressed file☆17Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Alphabetically sort an array of strings☆39Updated 4 years ago
- Lowercase the keys of an object☆40Updated last year