based on @rossengeorgiev's Dota 2 notebooks
to use in node.js project:
npm install dota2-emoticons
to generate new emoticons u'll need python 3.5+, pip and imagemagick.
# install python deps
$ pip3 install -r requirements.txt
# install imagemagic (macos)
$ brew install imagemagick
# generate emoticos
# common locations:
# macos /Users/<username>/Library/Application Support/Steam/steamapps/common/dota 2 beta;
# linux /home/<username>/.steam/steam/steamapps/common/dota 2 beta;
# windows C:/Program Files (x86)/Steam/SteamApps/common/dota 2 beta.
$ python3 generate.py <dota-path>