Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 531 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 531 Bytes

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