JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 391725
  • Score
    100M100P100Q168905F
  • License ISC

Package Exports

  • tree-sync

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tree-sync) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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