1.4.0 • Published 3 years ago

tf2-enum v1.4.0

Weekly downloads
16
License
ISC
Repository
github
Last release
3 years ago

node-tf2-enum

npm npm bundle size

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
  • 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;
1.4.0

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago