tree: f5cba2e00d67b45ca2b4e5986aabb7361cf3b43e [path history] [tgz]
  1. .npmignore
  2. .travis.yml
  3. index.js
  4. LICENSE
  5. package.json
  6. README.md
node_modules/node-firefox-find-ports/node_modules/adbkit/node_modules/commander/node_modules/graceful-readlink/README.md

graceful-readlink

NPM Version NPM Downloads

Usage

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

Licence

MIT License