dan2dev / rsync-source

A library that helps you reuse files in multiples projects without using symlink.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rsync-source

styled with prettier Dev Dependencies Donate

A library that helps you reuse files in multiples projects without using symlink.

Installation

npm install rsync-source

Usage

// import
import { copyFolderTo } from '../src/rsync-source'

// use
copyFolderTo("./some-folder", "./some-other-folder", false);

Attention

Files that don't exist in the source will be deleted from the destination directory.

About

A library that helps you reuse files in multiples projects without using symlink.

License:MIT License


Languages

Language:TypeScript 100.0%