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

@aegisjsproject/firebase-account-routes

v0.0.6

Published

Firebase account and authentication route modules for `@aegisjsproject/router`

Readme

@aegisjsproject/firebase-account-routes

Firebase account and authentication route modules for @aegisjsproject/router

CodeQL Node CI Lint Code Base

GitHub license GitHub last commit GitHub release GitHub Sponsors

npm node-current npm bundle size gzipped npm

GitHub followers GitHub forks GitHub stars Twitter Follow

Donate using Liberapay

Firebase Account Routes for @aegisjsproject/router

This project provides modular, event-driven authentication and account management routes for web applications using Firebase and @aegisjsproject/router. It enables seamless integration of sign-in, sign-up, password reset, email verification, and profile management features, with each route implemented as a separate, dynamically loaded module.

Features

  • Modular Routing: Each account-related route (sign-in, sign-up, reset-password, verify-email, verify-reset, profile) is a standalone ES module, loaded on demand.
  • Event-Driven Architecture: Custom events are dispatched for account actions, enabling flexible cross-component communication.
  • Firebase Integration: Uses Firebase JS SDK for authentication flows. Modules preload required Firebase packages for optimal performance.
  • UI Rendering: Uses tagged template literals (html) for declarative UI construction.

How It Works

  • The main entry (main.js) dispatches requests to the correct route module based on the requested page, using the ROUTES map from consts.js.
  • Route modules handle their own UI, event registration, and Firebase logic.
  • Events and navigation are managed via @aegisjsproject/router and @aegisjsproject/callback-registry.

Developer Workflow

  • Lint: npm run lint:js (ESLint, config in .github/linters/.eslintrc.yml)
  • Test: npm run test (runs lint and Node.js tests)
  • Start Dev Server: npm start (uses @shgysk8zer0/http-server)
  • Versioning: npm run version:bump[:patch|:minor|:major]

Key Files

  • main.js: Central route dispatcher and title resolver
  • consts.js: Route metadata and event names
  • auth.js, profile.js, sign-in.js, sign-up.js, reset-password.js, verify-email.js, verify-reset.js: Route logic
  • utils.js: User sanitization and module preloading
  • events.js: Event helpers