sindresorhus / file-urlLinks
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
Sorting:
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Extract the article title of a HTML document☆55Updated 3 years ago
- Returns an array filled with the specified input☆42Updated 3 years ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- Slice a string with ANSI escape codes☆50Updated this week
- Create an array without duplicates☆72Updated 4 years ago
- Regular expression for matching a shebang line☆46Updated 4 years ago
- Strip the final newline character from a string/buffer☆36Updated 10 months ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆38Updated last year
- Copy a file☆121Updated 3 weeks ago
- Check if an Array is sorted☆34Updated 4 years ago
- Get the latest version of an npm package☆53Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Linkify GitHub issue references☆47Updated last month
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 6 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Get a Gravatar image from an identifier, such as an email☆41Updated 4 years ago
- Get metadata on the default editor or a specific editor☆53Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Simple wildcard matching☆34Updated 3 years ago