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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@missingnogaming/scarlet-violet-151

v1.0.3

Published

A fully-typed data library for every card in Pokémon Scarlet & Violet - 151.

Downloads

11

Readme

Pokemon Scarlet & Violet - 151

A fully-typed data library for every card in Pokémon Scarlet & Violet - 151.

Brought to you by MissingNo. Gaming.

Cards

[!NOTE]
The SVP set only includes promos from 151 sources

Card data can be previewed via the auto-generated card lists:

Installation and Quickstart

npm i @missingnogaming/scarlet-violet-151
const { MEW, SVP, SVE } = await import("@missingnogaming/scarlet-violet-151");

const charmander = MEW["mew-004"];
console.log(charmander.name); // "Charmander"

const charmanderPromo = SVP["svp-047"];
console.log(charmanderPromo.name); // "Charmander"

const basicFireEnergy = SVE["sve-002"];
console.log(basicFireEnergy.name); // "Basic Fire Energy"

Usage

Cards are organized by set in corresponding key/value objects.

const { MEW, SVP, SVE } = await import("@missingnogaming/scarlet-violet-151");

Types for each object and field are exported as well.

import type {
  Art,
  Card,
  Holofoil,
  Material,
  Rarity,
  Series,
  Size,
  Source,
  Stamp,
  Type,
  Variation
} from "@missingnogaming/scarlet-violet-151";

The keys for each set object follow a "<set>-<three-digit-number>" format.

const charmander = MEW["mew-004"];
console.log(charmander.series); // "mew"
console.log(charmander.number); // 4
console.log(charmander.name);   // "Charmander
console.log(charmander.type);   // "pokemon"
console.log(charmander.rarity); // "common"

Key uniqueness ensures set objects can be joined without collisions.

const allCards = { ...MEW, ...SVP, ...SVE };
const charmander = allCards["mew-004"];
const charmanderPromo = allCards["svp-047"];
const fireEnergy = allCards["sve-002"];

Set objects can be enumerated using Object.values().

const nonEnergyCards = Object.values({ ...MEW, ...SVP });
console.log(nonEnergyCards.length);

Variations (i.e. reverse holo, stamped, etc.) are a card field.

const charmander = MEW["mew-004"];
charmander.variations.forEach(variation => {
  console.log(variation.art);      // i.e. "standard", "full", etc.
  console.log(variation.holofoil); // i.e. "reverse", "cosmos", etc.
  console.log(variation.material); // i.e. "metal", etc.
  console.log(variation.size);     // i.e. "jumbo", etc.
  console.log(variation.stamp);    // i.e. "gamestop", "professor-program", etc.
  console.log(variation.sources);  // i.e. ["booster-pack", "elite-trainer-box", ...]
});

Questions and answers

1. Why aren't HD and pixel cosmos holos seperated into their own variations?

The Pokémon Company, CGC, and PSA do not recognize HD/pixel cosmos holofoil in 151 as variations. Leftover HD holofoil was likely used in the initial print run of 151 until the sheets were replaced.

It's unclear whether HD holofoil in 151 will be considered misprints since both are 'Cosmos Holo'. To date, no 151 HD holofoil cards have been graded as misprints by CGC or PSA.

2. Why aren't cards like the Kanto starters in the Poster Collection Box listed as promos?

Only cards that belong to the Scarlet Violet Promo (SVP) set are promos.

Cards like the cosmos holo Charmander belong to the MEW set with their corresponding MEW set number. While many folks refer to these cards as promos, it's more accurate to refer to them as promotional.

3. Why the discrepancy between rarity and variation fields?

Promo and energy cards do not have a rarity, as such their rarity fields are undefined.

Certain variation fields, like material and size, only differ for a single card (i.e. jumbo size Zapdos ex promo, metal Mew ex). While it's verbose to explicitly define other cards as 'standard' size/material, the size and material of these cards is technically defined.

License

Licensed under the Apache License, Version 2.0.

Copyright

Pokémon is a registered trademark of Nintendo of America Inc.

MissingNo. Gaming is not endorsed by or affiliated with Nintendo of America Inc., The Pokémon Company International, or their affiliates.