This package tests whether you can create symlinks on this system.
npm install -g can-symlink
can-symlinknpm install --save can-symlinklet 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 });