readlink-win
v1.0.1
Published
nodejs fs.readlink extensions for windows
Downloads
1
Readme
readlink-win
is a native node.js
add-on that works on windows.
It has enhanced fs.readlink
to allow get type of link.
Usage
const readlinkWin = require('readlink-win');
await readlinkWin(path);
This module return a Promise object, which will be fulfilled by an object have below prop:
isDirectory, isReparse, isSymlink, isJunction, isAppExecl, path
path is the original result of fs.readlink
。