🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

xapier

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xapier

A basic update-checker module.

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

XAPIER

A simple update-checker module.

Logo

Badges

NPMLicanceDiscord

Installation

  $ npm install xapier

Usage

Terminal Usage

  $ xapier <parameter>
ParameterArgsDescription
-c -r & -agithub.com/user/repo <optional: -r> <optional: -a> *Create app's version.
-u1.0.1*Update your app's version. (Default version 1.0.0)

How it works

Example: If you write xapier -c githubadress -r -a It'll automaticly install the latest version of your app but you don't have to use -r & a.

This one is so basic. If you write xapier -u <new version that newer than oldest> it'll change the app's version. If you want more example:

Before you wrote command

{
    "version": "1.0.0"
}

After

{
    "version": "1.0.1"
}

Update Check Usage

const xapier = require("xapier")


xapier.Check( // All of these are optional
    "yourrelase.zip",//file
    true,//Auto update after download 
    "node ."//The command to run after updated
    pid // PID Number with number
)

How it works?

If you enter these informations, First it'll close the application, than download latest relase from your github page than install files. Finally it'll run the command you wrote.

What if i dont enter optional choices?

If the current version is older than latest than it'll direct you to github page.

All functions

    xapier.Ignore(); // Just returns

Feedback & Issue

If you wanna report an issue or smth. you can contact us via Discord or you can commit a Issue on GitHub

Credits

  • @valancess Coder & Developer.

  • @YiitWT Coder & Developer.

Keywords

xapier

FAQs

Package last updated on 08 Aug 2023

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