mk-symlink
v1.0.3
Published
Creates a symbolic link
Downloads
7
Maintainers
Readme
mk-symlink
Create symbolic link (symlink)
Install
$ npm install mk-symlink
Usage
const mkSymlink = require('mk-symlink');
const sourcePath = '/dev/configurations';
const sourceFile = 'development.json';
const targetPath = '/dev/project/api';
const targetFile = 'config.json';
mkSymlink.make(targetPath, targetFile, sourcePath, sourceFile);
API
mkSymlink.make(destinationPath, destinationFilename, sourcePath, sourceFilename)
Creates a symbolic link by passing the path and filename of the source and target.
License
MIT © Stefan Riedinger