pokemon-showdown/sim
Guangcong Luo d0ea290992 Rename pokemon to source in getDamage
This has been split off from #8373 to improve diff readability.
2021-11-02 18:05:53 -04:00
..
examples
tools
battle-actions.ts
battle-queue.ts
battle-stream.ts
battle.ts
dex-abilities.ts
dex-conditions.ts
dex-data.ts
dex-formats.ts
dex-items.ts
dex-moves.ts
dex-species.ts
DEX.md
dex.ts
field.ts
global-types.ts
index.ts
NONSTANDARD.md
pokemon.ts
prng.ts
README.md
side.ts
SIM-PROTOCOL.md
SIMULATOR.md
state.ts
team-validator.ts
TEAMS.md
teams.ts
tsconfig.json

Node.js package

Simulating battles

See: sim/SIMULATOR.md

Also available as a command-line API!

Validating, generating, and converting teams

See: sim/TEAMS.md

Also available as a command-line API!

Getting Pokédex information

See: sim/DEX.md

Undocumented APIs

Pokémon Showdown's Node.js package has TypeScript definitions for everything it exports, including a lot of undocumented APIs.

Please be aware that any undocumented API is unstable and should not be relied upon not to change. We do not follow semver for undocumented APIs. If you really want to use an undocumented API, remember to pin the exact PS version in your dependencies. You probably also want to follow the API update channel in the Discord server: https://psim.us/devdiscord