JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 23
  • Score
    100M100P100Q53052F
  • License ISC

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

Package Exports

  • steamworkshopdownloader
  • steamworkshopdownloader/dist/api/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (steamworkshopdownloader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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