Expands symbolic links and prints the resolved absolute filepath
npm install realpath> Expands symbolic links and prints the resolved absolute filepath
Similar to coreutils realpath.
``sh`
npm install --global realpath
`
$ realpath --help
Usage
$ realpath
Options
--relative-to=DIR Print the resolved path relative to DIR
--no-symlinks, -s Don't expand symlinks
Example
$ realpath ../unicorn
$ realpath --no-symlinks /tmp/link
$ realpath --relative-to /Users/sindresorhus/dev ../unicorn
``