npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pokebedrock-showdown

v0.1.13

Published

A modified version of the Pokémon Showdown server, designed for PokeBedrock.

Downloads

563

Readme

A PokeBedrock Fork of Pokémon Showdown

Goal

Try to keep this fork with the least amount of changes to the original codebase. However since we NEED to make changes to make it work in minecraft we need to keep all changes small and prefix them all with // @pokebedrock ensuring when merge conflicts come (when syncing with the original codebase) we can easily see what changes are needed to be made.

Current Changes:

Core System Changes:

  • Reworked Config: Modified to not use reading/writing to files as script api doesn't support that.
  • Better Type Safety: Added more specific type definitions throughout the codebase.
  • ESM Compatibility: Fixed compatibility issues with Minecraft Bedrock's Script API.
  • Removed Dynamic Requires: sim/dex & sim/teams now uses a static import map to avoid dynamic requires (which is not supported in Minecraft Bedrock's Script API).

Pokemon Data & Features:

  • UUID System: Added a whole UUID system which allows pokemon to be searched easily by interpreter.
  • Cosmetic Forms: Added extensive cosmetic forme support for many Pokemon including:
    • Pikachu variants (Witch, Captain, Santa, Detective, Doll)
    • Halloween forms (Sandshrew, Sandslash, Gastly, Haunter, Gengar, Celebi, Darkrai, Trubbish, Garbodor, Golett, Golurk, Gible, Gabite, Garchomp, Zoroark)
    • Christmas forms (Mew, Gardevoir, Gallade, Comfey, Snorlax)
    • Seasonal forms (Torterra-StPatrick, Spheal-Watermelon)
    • Independence forms (Cubone, Dugtrio, Houndoom, Wailord)
    • Spinda pattern variants
    • Vivillon Valentine pattern

Evolution System Enhancements:

  • Enhanced Evolution Properties: Added better properties to describe evolutions in pokedex:
    • evoTime: Specifies time of day for evolution (day/night/evening)
    • evoGender: Required gender for evolution
    • evoPartySpecies: Required species in party for evolution
    • evoTradeSpecies: Required trade partner species
    • evoPartyType: Required type in party for evolution
    • evoKnownMoveType: Required move type for evolution
    • evoMinAffection: Minimum affection required for evolution
    • evoRelativePhysicalStats: Stat comparison requirements for evolution
    • evoStatusEffect: Required status condition for evolution
    • evoBiomes: Required biomes for evolution
    • evoPriority: Evolution priority system
    • evoCosmeticForme: Required cosmetic forme for evolution
    • evoType: Enhanced evolution type system
    • changeEvent: Event that triggers forme changes

Battle System:

  • Bag Item System: Added comprehensive bag items with actions for:
    • Healing items (Potion, Super Potion, Hyper Potion, Max Potion, Full Restore)
    • Revival items (Revive, Max Revive)
    • Status cure items (Pecha Berry, Cheri Berry, etc.)
    • PP restoration (Leppa Berry with move-specific targeting)
    • Stat-boosting berries (Sitrus Berry, Oran Berry, etc.)
  • Revive System: Added revive() function for Pokemon to handle revival mechanics.
  • Enhanced Heal Messages: Added DETAILS to -heal instruction so we can read the pokemon being healed.
  • Critical Hit Enhancement: Added source parameter to -crit messages for better tracking.

Protocol & Communication:

  • New Instructions: Added simulator protocol instructions:
    • bag-item: For using bag items on Pokemon
    • used-ball: For tracking ball usage
    • forceforme: For forcing Pokemon forme changes/evolutions
  • Enhanced Details: Send detailschange after mega evolution so it will look good.
  • Kill Tracking: Added -killed instruction to send messages when a pokemon is killed.

Move & Battle Mechanics:

  • PP System: Enhanced PP tracking with current/max PP support from movesInfo.
  • Move Targeting: Better type safety for move targets.
  • Status Effects: Enhanced status effect handling for bag items and berries.

Technical Improvements:

  • Type Definitions: Improved TypeScript definitions throughout the codebase.
  • Const Assertions: Added as const to data tables for better type inference.
  • Error Handling: Enhanced error handling for bag items and forme changes.

Releasing a new NPM Version

If your smell-of-curry and you want to release a new version, you can do the following:

  1. Update the version in package.json
  2. Run npm run build-npm
  3. Run npm publish