path-symlink

0.0.3 • Public • Published

path-symlink Build Status

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

Readme

Keywords

Package Sidebar

Install

npm i path-symlink

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • ragingwind