1.0.8 • Published 6 years ago

auto-update-from-github v1.0.8

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

auto-update-from-github Build Status

自动同步 github 代码,支持检测 version 和 commit

Install

$ npm i -S auto-update-from-github

Usage

const aufg = require('auto-update-from-github');

aufg({
	git: 'username/repository', // 远程git地址
	dir: './repository', // 本地路径
	type: 'version', // 检测类型 version | commit
	freq: 3000 // 刷新频率
});

License

MIT © Harvey Zack