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

pocket-scraper

v1.2.3

Published

This Node.js script scrapes Pokémon card data from the website [pocket.limitlesstcg.com](https://pocket.limitlesstcg.com/cards/), collecting detailed information about each card including its stats, rarity, attacks, abilities, and more.

Readme

Pokémon TCG Scraper

This Node.js script scrapes Pokémon card data from the website pocket.limitlesstcg.com, collecting detailed information about each card including its stats, rarity, attacks, abilities, and more.

Data Source

The data for Pokémon cards was obtained from the Pocket Limitless TCG website. This data was used for the creation of the dataset in JSON.

Features

  • Scrapes card data from multiple sets (A1, P-A, A1a, A2, A2a, A2b)
  • Extracts key information such as:
    • Name, ID, HP, Type, Card Type, Evolution Type
    • Image, Attacks, Abilities, Weakness, Retreat Cost
    • Rarity, Pack, Artist, Alternate Versions
    • Crafting Costs and Pull Probabilities
  • Saves results to a JSON file (cards.json by default)
  • Skips already downloaded cards for efficiency
  • Includes error handling and retry limits

Setup

Requirements

  • Node.js (v18 or later recommended)
  • axios, cheerio for HTTP requests and HTML parsing

Installation

npm run install

Usage

You can run the scraper via CLI:

npm run start

By default, it scrapes cards with IDs from 1 to 300 for each set.

Arguments:

  • startId: Starting numeric ID of cards to scrape
  • endId: Ending numeric ID
  • outputFile: Optional path to output JSON file

Data Format

Each card in the JSON output includes fields like:

{
  "id": "123",
  "name": "Pikachu",
  "hp": "60",
  "type": "Electric",
  "card_type": "Pokémon",
  "evolution_type": "Basic",
  "image": "https://...",
  "attacks": [ ... ],
  "ability": { ... },
  "weakness": "Fighting",
  "retreat": "1",
  "rarity": "◊◊",
  "fullart": "No",
  "ex": "No",
  "setCode": "A1",
  "set_details": "Set Title",
  "pack": "Pikachu pack",
  "alternate_versions": [ ... ],
  "artist": "John Doe",
  "probability": { "4 card": "90.000%" },
  "crafting_cost": 70
}

Notes

  • Full art cards are marked based on rarity (, ☆☆, ☆☆☆, or "Crown Rare")
  • Rarity affects both probability of pulling and crafting cost
  • Some default fallback values are used for unknown fields

Legal Disclaimer and Copyright Notice

This project is non-commercial and for educational purposes only. All rights to Pokémon and any related intellectual property, including but not limited to trademarks, copyrights, and patents, are owned by their respective holders. This project is not affiliated with, endorsed by, or sponsored by the owners of Pokémon or any related entities. No infringement of intellectual property rights is intended.