@shineiichijo/team-preview
TypeScript icon, indicating that this package has built-in type declarations

1.1.7 • Public • Published

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.

Package Sidebar

Install

npm i @shineiichijo/team-preview

Weekly Downloads

8

Version

1.1.7

License

MIT

Unpacked Size

527 kB

Total Files

55

Last publish

Collaborators

  • shineiichijo