sindresorhus / tildify
Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev
☆93Updated 2 years ago
Alternatives and similar repositories for tildify:
Users that are interested in tildify are comparing it to the libraries listed below
- Get the directory of globally installed packages and binaries☆75Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Edit a string with the users preferred text editor using $VISUAL or $EDITOR☆44Updated 2 years ago
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 3 years ago
- Check if the process is running with elevated privileges☆40Updated 3 years ago
- Import a globally installed module☆57Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Check if a path is a file, directory, or symlink☆77Updated 5 months ago
- Get a random temporary file path☆79Updated last year
- Compressible Content-Type / mime checking.☆98Updated 9 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆91Updated 2 years ago
- Check if something is a promise☆46Updated 3 years ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆97Updated last year
- Check if a path exists☆150Updated 2 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Environment agnostic nextTick polyfill☆75Updated 3 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Check if your package was installed globally☆70Updated last year
- Require global npm as a local node module.☆32Updated 2 years ago
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Create and parse HTTP Content-Type header☆132Updated 6 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 2 months ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Get the set npm registry URL☆53Updated 2 years ago
- Check if something is a Node.js stream☆110Updated 2 months ago
- Write data to a random temporary file☆105Updated 5 months ago
- Resolve a relative path against a root path with validation☆33Updated 5 months ago
- Wait for any promise to be fulfilled☆55Updated 2 years ago