blob: fc63b505a516b2db12eb50ebd50f78447e29178d (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# graceful-readlink
[](https://www.npmjs.org/package/graceful-readlink)
[](https://www.npmjs.org/package/graceful-readlink)
## Usage
```js
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
|