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
- Detect the dominant newline character of a string☆55Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- 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 11 months ago
- Linkify GitHub issue references☆46Updated 6 months ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Extract the article title of a HTML document☆54Updated 3 years ago
- Get the version of a binary in semver format☆42Updated last year
- ES spec-compliant shim for String.prototype.padStart☆23Updated last month
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 11 months ago
- Get the number of days in a month☆27Updated 3 years ago
- Check if an Iterable is empty☆22Updated 4 years ago
- Check if a path is a file, directory, or symlink☆78Updated 8 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 5 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated last month
- Check if your package was installed globally☆70Updated last year
- Check if something is a generator function☆22Updated 2 years ago
- A list of directories you should ignore by default☆23Updated 2 years ago
- Slice a string with ANSI escape codes☆47Updated 10 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Check if an Array is sorted☆34Updated 3 years ago
- Check if a file path is a text file☆18Updated 11 months ago
- Check if a file path is a compressed file☆17Updated 11 months ago
- PostCSS plugin for css modules to local-scope classes and ids☆27Updated 4 months ago