tf2-enum
v1.4.0
Published
Provides various TF2 enums for use with TF2-related Node.js projects
Downloads
9
Readme
node-tf2-enum
Provides various TF2 enums for use with TF2-related Node.js projects
This project is actively being developed, and acts as an entry into creating npm packages
Objects
The following objects are exported as a part of this module:
- Quality
- ID
- Color
- Craft Weapons
- Scout, Solider, Pyro, Demoman, Heavy, Engineer, Medic, Sniper
- Primary
- Secondary
- Melee
- Spy
- Primary
- Melee
- PDA
- PDA2
- Scout, Solider, Pyro, Demoman, Heavy, Engineer, Medic, Sniper
- Stock Weapons
- Def Index Map
- Name Map
- Strange Parts
- Def Index
- Sheens
- Killstreak Sheen Number
- Killstreakers
- Killstreaker Effect Number
- Paints
- SKU
- Hex Color Code
Instalation
Via NPM: npm install tf2-enum
Example
var tf2Enum = require("tf2-enum");
const unusualQuality = tf2Enum.QUALITY.COLOR.UNUSUAL;
const fanSKU = tf2enum.CRAFTWEAPON.SCOUT.PRIMARY.FORCE_A_NATURE;