Skip to content

A Node.js module to connect to and interact with the Dota 2 game coordinator.

License

Notifications You must be signed in to change notification settings

itsjfx/node-dota2-user

Repository files navigation

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

About

A Node.js module to connect to and interact with the Dota 2 game coordinator.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published