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

@authhero/react-admin

v0.50.0

Published

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fauthhero%2Fauthhero&env=VITE_AUTH0_DOMAIN,VITE_AUTH0_CLIENT_ID,VITE_AUTH0_API_URL,VITE_SINGLE_DOMAIN_MODE&envDescription=Configure%20

Downloads

1,345

Readme

react-admin

Deploy with Vercel Deploy to Cloudflare Pages

Cloudflare Pages Setup: Select "Pages" during setup, set root directory to apps/react-admin, build command to pnpm run build, and output directory to dist. Add environment variables VITE_AUTH0_DOMAIN, VITE_AUTH0_CLIENT_ID, VITE_AUTH0_API_URL, and VITE_SINGLE_DOMAIN_MODE.

Installation

Install the application dependencies by running:

npm install
# or
yarn install

Configuration

Environment Variables

You can configure the default domain connection using environment variables. Create a .env file in the apps/react-admin directory:

# Production
VITE_AUTH0_DOMAIN=login.sesamy.com
VITE_AUTH0_CLIENT_ID=auth-admin
VITE_AUTH0_API_URL=https://auth2.sesamy.com

# Or for local development
VITE_AUTH0_DOMAIN=localhost:3000
VITE_AUTH0_CLIENT_ID=auth-admin
VITE_AUTH0_API_URL=https://localhost:3000

# Optional: Skip domain selector and use configured domain directly
VITE_SINGLE_DOMAIN_MODE=true

See .env.example for more details.

Notes:

  • If VITE_AUTH0_DOMAIN is set, it will be automatically added to the domain list
  • Users can still add additional domains through the UI (unless VITE_SINGLE_DOMAIN_MODE=true)
  • Set VITE_SINGLE_DOMAIN_MODE=true to skip the domain selector entirely

Development

Start the application in development mode by running:

npm run dev
# or
yarn dev

Production

Build the application in production mode by running:

npm run build
# or
yarn build

Deployment

The React Admin application can be deployed to Vercel. See the Vercel deployment guide for detailed instructions.

Important: When deploying to Vercel, you must set the environment variable ENABLE_EXPERIMENTAL_COREPACK=1 to avoid build errors with pnpm.

DataProvider

The included data provider use FakeREST to simulate a backend. You'll find a data.json file in the src directory that includes some fake data for testing purposes.

It includes two resources, posts and comments. Posts have the following properties: id, title and content. Comments have the following properties: id, post_id and content.

Tests

You can run the included tests with the following command:

npm run test
# or
yarn run test