var readlinkSync = require('graceful-readlink').readlinkSync;
console.log(readlinkSync(f));
// output
// the file pointed to when `f` is a symbolic link
// the `f` itself when `f` is not a symbolic link
MIT License
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.