relsym
v1.0.3
Published
Convert absolute symlinks to relative ones
Downloads
7
Readme
relsym
A small utility that converts absolute symlinks to relative ones. Similar to symlinks but in node.js.
install
npm install relsym
/
yarn add relsym
usage
Accepts either a folder or a symlink. If it receives a folder, it recursively converts all symlinks inside it.
const relsym = require('relsym')
relsym('/path/to/my/folder')
// tada!
use with care
This utility mutates the folder or file it is given. If you find a bug, please report it - or better yet, contribute a fix!
contributing
Yes please!
license
Apache License, Version 2.0