Create symbolic link (symlink)
$ npm install mk-symlink
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);
Creates a symbolic link by passing the path and filename of the source and target.
MIT © Stefan Riedinger