1.2.3 • Published 3 years ago

gts-snapsync v1.2.3

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

gts-snapsync

An excellent library and toolset for optimized transfers of single files and directory snapshots based on librsync.

npm downloads total npm version npm license

Installation

Install the gts-snapsync module via

npm install gts-snapsync --save

or

yarn add gts-snapsync

See the original documentation at https://github.com/core-process/snapsync
This fork added async features to all the functions of snapsync. Just add a callback function as the last parameter, for example:

Sync:

snapsync.snap.create('dir', 'file');

Async:

snapsync.snap.create('dir', 'file', (error) => {
	if (error) { console.log(error) }
});
// or 
await snapsync.snap.asyncCreate('dir','file');

Changelog

v1.2.2

  • Added support for Node 12+
  • Dropped support for Node < 8
  • Added custom_modules containing a modified version of node-pre-gyp-github since the original does not work anymore.
  • Use latest version of @octokit/rest to work with Github API
1.2.3

3 years ago

1.2.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3-build-2

4 years ago

1.1.3

4 years ago