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

@codestrap/developer-foundations.x-reason

v1.4.5

Published

## Introduction

Readme

WiP: Foundry Developer Foundations

IMPORTANT: This project is under active development and refactoring in preparation for v0

If you are a developer and want to learn and contribute to this project email me at [email protected] and I will train you. This is a limited time offer while we build our core user and contributor base.

IMPORTANT: This README is also under active development and not ready for use.

As part of our v0 release, we are implementing the FDF pattern for developers to allow devs without a Foundry stack to participate. The code can also run outside of Foundry using a Docker container once the migration is complete. You will need to replace Foundry native implementations for the domain and services packages. You'll likely also need to define an API with express or similar then create a new Dockerfile to expose your API.

This means as of today do not use this code in your external applications. We are looking for contributors. You can participate without a Foundry stack by following the contributor guide. We expect a v0 release in June 2025.

Introduction

This application is an implementation of the Foundry‑backed / GitHub‑native collaboration pattern created by CodeStrap, LLC. The goal: let any JavaScript / TypeScript engineer contribute business logic to a Palantir Foundry deployment without needing direct Foundry expertise or access. Please see the hello-world application to understand the pattern before proceeding.

Getting Started

  1. First, if you are a Foundry developer, download and install the X-Reason Marketplace application on your Foundry stack. We have implemented mocks in our jest tests so if you don't have a Foundry stack skip this step.
  2. Run npm install
  3. Create a .env file and set the following values
# Foundry Env Vars Only required for Foundry devs with a stack 
FOUNDRY_STACK_URL=<your stack url if you have one, otherwise set to a placeholder value>
OSDK_CLIENT_SECRET=<your osdk client secret if you have one, otherwise set to a placeholder value>
OSDK_CLIENT_ID=<your osdk client id if you have one, otherwise set to a placeholder value>
ONTOLOGY_RID=<your ontology rid if you have one, otherwise set to a placeholder value>
ONTOLOGY_ID=<your ontology rid if you have one, otherwise set to a placeholder value>

# Not required, set to a default value. This is only used in the sample weather service to demonstrate using an external service
OPEN_WEATHER_API_KEY=<an open weather API key https://home.openweathermap.org/>
LOG_PREFIX=foundry-developer-foundations-x-reason

# Google env vars required for e2e testing of sending emails, scheduling meetings, and google search
GSUITE_SERVICE_ACCOUNT=<if you would to perform e2e testing, otherwise ignore>
GOOGLE_SEARCH_API_KEY=<if you would to perform e2e testing, otherwise ignore>
GOOGLE_SEARCH_ENGINE_ID=<if you would to perform e2e testing, otherwise ignore>
GOOGLE_SEARCH_ENGINE_MARKETS=<if you would to perform e2e testing, otherwise ignore>
GEMINI_API_KEY=<if you would to perform e2e testing, otherwise ignore>
# email for the service account, it [email protected]
OFFICE_SERVICE_ACCOUNT=<if you would to perform e2e testing, otherwise ignore>

# Start partner variables, set these to defaults or an error will be thrown
RANGR_OSDK_CLIENT_ID=<set to a default value ie, "default">
RANGR_OSDK_CLIENT_SECRET=<set to a default value ie, "default">
RANGR_FOUNDRY_STACK_URL=<set to a default value ie, "default">
RANGR_ONTOLOGY_RID=<set to a default value ie, "default">

# Start OpenAI vars
OPEN_AI_KEY=<only set if you want to perform e2e testing, otherwise ignore>

# Start Slack vars
SLACK_CLIENT_ID=<only set if you want to perform e2e testing, otherwise ignore>
SLACK_CLIENT_SECRET=<only set if you want to perform e2e testing, otherwise ignore>
SLACK_SIGNING_SECRET=<only set if you want to perform e2e testing, otherwise ignore>
SLACK_BOT_TOKEN=<only set if you want to perform e2e testing, otherwise ignore>
SLACK_APP_TOKEN=<only set if you want to perform e2e testing, otherwise ignore>
SLACK_BASE_URL=https://slack.com/api