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

@nuxt-customer-portal/kit

v0.3.3

Published

Configuration and migration tooling shared by official, third-party, and local portal layers. `portal.config.ts` is the single source for Nuxt `extends` and database provider ordering. Migration SQL is immutable after release and each provider receives it

Readme

Nuxt Customer Portal kit

Configuration and migration tooling shared by official, third-party, and local portal layers. portal.config.ts is the single source for Nuxt extends and database provider ordering. Migration SQL is immutable after release and each provider receives its own journal table.

Create a portal

npx @nuxt-customer-portal/[email protected] init my-portal

The interactive wizard creates a standalone copy of the configurable SaaS portal, generates secrets, installs dependencies, starts local PostgreSQL with Docker (or uses an empty database), and creates a verified administrator. Choose the password in the masked prompt; it is never stored in generated files or passed as a shell argument. Finish branding, modules, homepage, and legal settings in the browser.

For your own PostgreSQL database, use a connection URL in the form postgresql://username:password@host:5432/database. Replace each part with your database details, or paste the URL from your database provider, including any connection options such as ?sslmode=require. Percent-encode special characters in credentials (@ becomes %40, for example). Setup saves the URL in .env.

Use --no-install to generate files only. Run the generated project's setup script to resume after fixing an installation or database problem. Setup refuses non-empty unrelated databases, preserves existing files, and never resets an existing account's password. The generated app uses invitation-only registration.

The wizard can optionally copy the homepage, privacy page, and terms page into the generated host under app/pages/. Leave that option off to keep every page package-provided. To customize one page later, run for example:

pnpm portal page copy login

Available page names are home, privacy, terms, and login. The command copies the selected source and adds any direct dependency it needs. It refuses the operation before changing files when the destination already exists. Local Nuxt pages override the package layer route, so there is no duplicate route. Copied pages are owned by the host: edit them normally, and review upstream package changes yourself because upgrades do not update local copies.

The npm tarball contains a template prepared from apps/saas-portal by prepack. When running init from a source checkout, first run pnpm --filter @nuxt-customer-portal/kit build:template. This keeps generated projects aligned with the maintained configurable application.

Generated projects include local Prettier and ESLint configuration. Run pnpm format to apply formatting and lint fixes, pnpm format:check to verify without changing files, and pnpm lint to check code with zero warnings allowed. Use the equivalent run commands for your chosen package manager. Generated outputs, local environment files, and package-manager lockfiles are excluded from formatting.

Manage an existing portal

Grant the global system-administrator role to an existing user with:

nuxt-customer-portal admin grant --email [email protected]

This changes only the platform role on the user; it does not modify any organization membership or organization role.

db adopt-legacy is a dry run unless --apply is passed. It only recognizes the complete 22-entry pre-package migration history and refuses unknown or partially migrated databases.