Skip to content

Pokémon team preview image generator

License

Notifications You must be signed in to change notification settings

Weeb-API/team-preview

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

team-preview

Pokémon team preview image generator

Install

Install team-preview:

npm i team-preview

Generate a summary

import { Sets } from '@pkmn/sets';
import { summaryScreen, partyScreen } from 'team-preview';

//Pokémon Showdown! set
const set = Sets.importSet(
`Gekkouga (Greninja-Ash) (M) @ Choice Specs  
 Ability: Battle Bond  
 Level: 100  
 Shiny: Yes  
 Pokeball: Cherish Ball  
 EVs: 252 SpA / 4 SpD / 252 Spe
 Timid Nature
 - Hydro Pump
 - Dark Pulse
 - Water Shuriken
 - Spikes
`);

const buffer = await summaryScreen(set);

Result: Summary

Generate a party preview

import { summaryScreen, partyScreen } from 'team-preview';

//array of 6 sets
const buffer = await partyScreen([set, set2, set3, set4, set5, set6]);

Result: Party

Donations

Donations are gladly accepted. Please send them to my Paypal.me or Patreon to support the development, and maintenance of this project. Thank you!

Credits

This project currently being owned and maintained by adrifcastr.

About

Pokémon team preview image generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%