fs-symlink

safe symlinking

Usage no npm install needed!

<script type="module">
  import fsSymlink from 'https://cdn.skypack.dev/fs-symlink';
</script>

README

symlink

NPM version Build status Test coverage Dependency Status License Downloads

Symlinking, but it checks whether the symlink already exists as well as fix various other annoyances such as mkdirp.

API

var link = require('fs-symlink')

link('package.json', 'alias.json', 'junction').then(function () {

})