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

2.0.3 • Public • Published

Dota 2 for SteamUser

npm version

This module aims to provides a flexible TypeScript/Node.js interface for interacting with the Dota 2 Game Coordinator.

It utilises a node-steam-user SteamUser instance for Steam communication.

To use node-dota2-user, please ensure you have node-steam-user v4.2.0 or later and Node.js v14 or later installed.

Expectations

I initially wrote this module cause I wanted to get data from the Dota 2 GC with Node.js, but had no way of doing so without node-dota2 which is deprecated.

As of now, this module fulfills my use-cases and the use-case of communicating with the game coordinator. It can likely do what you need.

I'm unlikely to implement additional features in the short term as I don't have a need for them.

In addition, this module does not need frequent updates due to its small dependency pool.

That said, I welcome any feedback, suggestions, issues, or pull requests from the community.

A board with some ideas for future features is available here: https://github.com/users/itsjfx/projects/1

Please consider this in alpha state, similar to node-dota2.

If you're willing to use Go, I'd suggest checking out paralin/go-dota2, a more feature-rich package.

Goals

  • Types
  • Simple module development and consumption
  • Good documentation
  • Auto-generated code so I can do less work

Documentation

Examples

See examples/ for TypeScript examples.

Thanks to

See also

Package Sidebar

Install

npm i dota2-user

Weekly Downloads

14

Version

2.0.3

License

GPL-3.0

Unpacked Size

14.4 MB

Total Files

108

Last publish

Collaborators

  • jfx