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

pathfinder-society

v0.4.44

Published

All Pathfinder Society Scenarios metadata as an npm module

Downloads

17

Readme

Pathfinder-society

This contains all the Pathfinder Society Scenarios metadata, as extracted from the PathfinderWiki. The module is automatically updated every week.

The initial goal was to build a searchable list of Pathfinder Society Scenarios, but the data has been packaged in a easy-to-use format to allow anyone to build from it.

Installation

yarn add pathfinder-society

Usage

import pathfinderSociety from 'pathfinder-society';
console.info(pathfinderSociety.stayOfExecution);
// {
//   "authors": [
//     "Alison McKenzie"
//   ],
//   "backcover": "When a petty thief named Hadge gets a lucky break and makes off with a powerful divination focus of the Pathfinder Society's masked leadership, you and your fellow Pathfinders set out to the sparsely populated Taldor frontier to find him and recover the focus. When the local governor tosses Hadge into the brutal Porthmos Prison for a minor crime, your mission suddenly becomes a jail break. Will you free Hadge and uncover the location of the focus before the gangs of Porthmos tear him apart?",
//   "coverUrl": "//cdn.paizo.com/image/product/catalog/PZOP/PZOPSS012E_500.jpeg",
//   "levels": [
//     1,
//     2,
//     3,
//     4,
//     5,
//     6,
//     7
//   ],
//   "locations": [
//     "Taldor",
//     "Sardis Township",
//     "Porthmos Prison"
//   ],
//   "npcs": [
//     "Drandle Dreng",
//     "The Inward Facing Circle"
//   ],
//   "paizoUrl": "https://paizo.com/products/btpy86nh",
//   "price": 3.99,
//   "pubcode": "PZOPSS0012E",
//   "rating": 2.3,
//   "scenarioIndex": 12,
//   "seasonIndex": 0,
//   "title": "Stay of Execution",
//   "url": "https://pathfinderwiki.com/wiki/Stay_of_Execution"
// }

Sources

Data is extracted from the Pathfinder Wiki API. Additional information is extracted from the official Paizo website (like cover art and rating).

Development

Run yarn run regenerate to update the data with the latest information extracted from the Wiki and Paizo website. This might take some time as it's making a bunch of HTTP requests. Subsequent calls use a local cache on disk.

Automation

This repository is configured to automatically publish a new version to npm every week if there is new data from the wiki.

CircleCI is configured to run the weeklyUpdate job every Tuesday morning. This will regenerate the data.json file by recrawling the wiki. If the file contains changes from the previous version, it will make a patch release and re-index the data into Algolia so the website is updated as well