1.0.3 • Published 5 years ago

mk-symlink v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

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