jack e1a2621c78 update 2 years ago
..
.npmignore e1a2621c78 update 2 years ago
.travis.yml e1a2621c78 update 2 years ago
LICENSE e1a2621c78 update 2 years ago
README.md e1a2621c78 update 2 years ago
index.js e1a2621c78 update 2 years ago
package.json e1a2621c78 update 2 years ago

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