steamworkshopdownloader
TypeScript icon, indicating that this package has built-in type declarations

3.1.4 • Public • Published

Download your Mods,Workshop items with SteamWorkshopDownloader on NodeJS. Currently using steamworkshopdownloader.io backend.

Built with ❤︎ by EpEren

Usage

With npm installed, run

> npm install steamworkshopdownloader
- OR - 
> npm install steamworkshopdownloader -g

Global Using

You can download specific folder with global using.

> cd ./YourFolder
>
> steamwd --help
>
> - - - - - - - - - - -
> -c = Item count of same time download | default : 20
> -d = Download dependencies. | default : false
> -u = Unzip item | default : false
> -ud = Unzip and delete zip | default : false
> - - - - - - - - - - -
>
> - - - - - - - - - - -
> steamwd [WorkshopIDS]
> - - - - - - - - - - -
> steamwd 2712258971 274974446 274974442
> - - - - - - - - - - -
> steamwd 2712258971 -d -u
> - - - - - - - - - - -
> steamwd download 2712258971 -ud
> - - - - - - - - - - -

Import Using

import { Client } from 'steamworkshopdownloader'

const MyClient= new Client();

Examples

Get info of workshop from ID.

(async function(){
    console.log(await MyClient.getItems([274974446]));
})()

Get workshop files from item(s).

(async function(){
    var items= await MyClient.getItems([2712258971]);

    var res= await MyClient.getFilesFromItems(items.data,(Statu)=>{
        console.log(items.data.find(x=>x.publishedfileid==Statu.publishedfileid).title_disk_safe+" => %"+Statu.progress+" | "+Statu.status);
    });

    console.log(res);
})()

Get workshop files from ID(s).

(async function(){
    var res= await MyClient.getFiles([2712258971],(Statu)=>{
        console.log(Statu.publishedfileid+" => %"+Statu.progress+" | "+Statu.status);
    });

    console.log(res);
})()

Developer: © ErenKrt

Package Sidebar

Install

npm i steamworkshopdownloader

Weekly Downloads

5

Version

3.1.4

License

ISC

Unpacked Size

21.7 kB

Total Files

12

Last publish

Collaborators

  • erenkrt