New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gh-updater

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh-updater

GitHub repository auto-updater using 7zip or unzip

  • 1.6.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
30
increased by3.45%
Maintainers
1
Weekly downloads
 
Created
Source

npm version npm downloads Build Status codecov

Known Vulnerabilities codebeat badge Codacy Badge DeepScan grade

GitHub repository auto-updater

The project aims to develop a GitHub repository auto-updater tool using 7-Zip or unzip.

usage 運行方式

Here lists the usage of this tool.

As CLI update tool

If installed as node_modules/.bin/gh-updater:

node_modules/.bin/gh-updater user/repository-branch [target_directory]

default target directory: repository-branch/

e.g.,

# install into gh-updater-master/
node_modules/.bin/gh-updater kanasimi/gh-updater-master
# install into **current directory**
node_modules/.bin/gh-updater kanasimi/gh-updater-master .

Testing GitHub.updater.node.js:

node GitHub.updater.node.js user/repository-branch [target_directory]

As node.js module

const updater = require('gh-updater');

// to check version
updater.check_version('kanasimi/gh-updater-master', version_data => console.log(version_data) );

// to update
updater.update('kanasimi/gh-updater-master', '.');

OS support

Platformsupport
Windows✔️
macOS✔️
UNIX, Linux✔️

Requires

In UNIX or macOS, thie update tool will use unzip to extract files. In Windows, the client must install 7-Zip first.

Note

The update tool checks the latest commits of GitHub repository, NOT releases or npm package.

Contact 聯絡我們

Contact us at GitHub.

logo

Keywords

FAQs

Package last updated on 26 Jul 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc