readlink-win

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i readlink-win

Weekly Downloads

0

Version

1.0.1

License

BSD

Unpacked Size

254 kB

Total Files

5

Last publish

Collaborators

  • 4qwerty7