0.0.3 • Published 7 years ago
path-symlink v0.0.3
path-symlink
Create symlinks in a safe way
Install
$ npm install --save path-symlink
Usage
const pathSymlink = require('path-symlink');
pathSymlink(['~/.dotfiles/**/*.symlink', '~/Downloads/local/*'], $HOME).then(links) {
}
API
pathSymlink(src, dest, options)
Return a Promise for an array of creating symbolic links
src
Type: pattern for globby
Source files to become a symbolic link
dest
Type: string
Path for root directory for symbolic links
options
strip
Type: boolean
Default: true
Whether strip extension string in a path or not
License
MIT © ragingwind