this package has been moved to https://github.com/zkochan/packages/tree/master/can-link
Returns true if a link can be created
npm i -S can-link
const canLink = require('can-link')
canLink.sync('C:\\foo.txt', 'D:\\foo.txt')
//> false
canLink.sync('C:\\foo.txt', 'C:\\dir\\foo.txt')
//> true
Returns true
if fs.linkSync(existingPath, newPath)
is able to create a link.
Returns true
if fs.link(existingPath, newPath)
is able to create a link.