Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 611 Bytes

File metadata and controls

32 lines (22 loc) · 611 Bytes

node-can-symlink

This package tests whether you can create symlinks on this system.

Command-line usage

npm install -g can-symlink

can-symlink

Programmatic usage

npm install --save can-symlink
let canSymlink = require("can-symlink")();

canSymlink will be either true or false. Note that we are calling the module.

On non-Windows platforms, require("can-symlink")() automatically returns true. To force testing for symlinkability on non-Windows platforms, pass the forceTest option:

let canSymlink = require("can-symlink")({ forceTest: true });