graceful-readlink

1.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i graceful-readlink

      Weekly Downloads

      1,485,613

      Version

      1.0.1

      License

      MIT

      Last publish

      Collaborators

      • zhiyelee