1.5.3 • Published 3 years ago

steamcmd-wrapper v1.5.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

SteamCMD-Wrapper allows to you use SteamCMD on NodeJS. You can use many features of SteamCMD and get command responses.

Usage

With npm installed, run

> npm install steamcmd-wrapper

Import

const {SteamCMD,Downloader} = require('steamcmd-wrapper');

Features

Examples

Ready to work !

  • Windows

    var Wrapper= new SteamCMD({BinDir:"steamcmd.exe"})
  • Linux

    var Wrapper= new SteamCMD({BinDir:"./steamcmd.sh"})
(async function(){
    await Wrapper.Create(function(data){
        console.log(data)
    })
})()

Usage Examples

Login

  • (1)

    var Login= await Wrapper.Login({
        Username:"<YOUR NAME>",
        Password:"<YOUR PASS>",
        Guard:"<YOUR GUARD CODE>",
    });
    if(Login.type==0){
        // Work area
    }else{
        console.log(Login.message);
    }
  • ShowCode (2)

Download App

  • (1)

    function CallBackForDownload(data){
        console.log(data)
    }
    
    var DownloadAPP= await Wrapper.AppUpdate(
        {
            InstPath:"example/gamefolder/",
            AppID:610360,
            Validate:true,
            cb:CallBackForDownload
        }
    )
  • Show Code (2)

Download SteamCMD

  • (1)

    var Down= await Downloader.Download("./test/",function(data){
        console.log(data);
    });
    
    console.log("Downloaded !");
  • Show Code (2)

Developer: © ErenKrt

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago