auto-update-from-github

1.0.8 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i auto-update-from-github

Weekly Downloads

8

Version

1.0.8

License

MIT

Unpacked Size

366 kB

Total Files

30

Last publish

Collaborators

  • zhw2590582