@gw2efficiency/game-data
v0.1.67
Published
Additional game data that the API does not provide
Readme
Game Data (WIP)
Additional game data that the API does not provide.
You should likely not use this yet, because it will have breaking versions until 1.0.
Usage
The following two import forms are supported:
- CommonJS:
const mountSkinData = require('@gw2efficiency/game-data/mounts/skins') - ES Modules:
import mountSkinData from '@gw2efficiency/game-data/mounts/skins'
Data
@gw2efficiency/game-data/commerce/blacklist: A list of items that are in the commerce API but not actually tradable@gw2efficiency/game-data/home/cats: Additional information about home cats@gw2efficiency/game-data/home/nodes: Additional information about home nodes@gw2efficiency/game-data/items/categories/cosmetic-auras: Which items are categorized as cosmetic auras@gw2efficiency/game-data/mounts/skins: Additional information about mount skins
Source Structure
The directory structure shows what type of data it is (for example mounts/skins).
In each directory, there are the following files:
data.ts- The data for this typetest.ts- Tests that parsedata.tsand validate if the content is validgenerate.ts- Some way to generatedata.tsentirely or partially (if applicable)
Publishing a new version
sh publish-data.sh