New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tf2-static-schema

Package Overview
Dependencies
Maintainers
0
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tf2-static-schema

Updates TF2 schema into temporary files that you can lazy load in your app.

  • 1.88.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
0
Weekly downloads
 
Created
Source

TF2 Static Schema

This package keeps TF2 schema files up to date in the temp folder.

This is a work in progress, bear in mind the API can change.

Reason I've created this

  • Unrealibity of steam servers
  • Lack of TF2 updates making it illogical to update locally every X hour
  • Loading just what you want into your app!

Instalation

If you're only using schema.static, install like:

npm install --no-optional tf2-static-schema

If you want to use core of the package (updating static files or fetching data yourself) do:

npm install tf2-static-schema

Usage

  • All parts are required through node resolver:

require('tf2-static-schema/static/*'), * can be:

attributes, effects, item-names, items, items-game, levels, lookups, origins, paint-kits, parts, qualities, sets,

require('tf2-static-schema/core') provides:

fetchAll - fetches all schemas update - updates static files getItemsGame - fetches game metadata getPaintKits - fetchs paint kits getSchemaItems - fetches the items with API Key getSchemaOverview - fetches the overview with API Key

FAQs

Package last updated on 04 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc