Socket
Socket
Sign inDemoInstall

tree-sync

Package Overview
Dependencies
31
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tree-sync

A module for repeated efficient synchronizing two directories.


Version published
Maintainers
3
Install size
1.08 MB
Created

Readme

Source

TreeSync Build Status Build status

A module for repeated efficient synchronizing two directories.

// input/a/{a.js,b.js}
// output/

var tree = new TreeSync('input', 'output')
tree.sync();
// output is now contains copies of everything that is in input

fs.unlink('/input/a/b/js');

// input / output have diverged

tree.sync();

// difference is calculated and efficient patch to update `output` is created and applied

FAQs

Last updated on 09 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc