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-frogger

v0.1.19

Published

Logging and tracing module for Nuxt applications

Downloads

1,520

Readme

🐸 Frogger

The zero-setup logger for Nuxt

Log and trace from anywhere in your Nuxt applications. Server to client, client to server, to external services and back again. Install Frogger - add it as a module, and it just works. Automatically batches and sends logs to the server. No matter where you make a log, you'll find it in the same place.

A bare install logs to the console only. Add persistent destinations declaratively with the transport factories — rotated JSON-lines files with fileTransport(), any HTTP ingest with httpTransport(), or a nuxt-observe deployment with observeTransport():

// frogger.config.ts
import { defineFroggerOptions, fileTransport, observeTransport } from '#frogger/config';

export default defineFroggerOptions({
    transports: [
        fileTransport(),                                          // logs/ on disk
        observeTransport({ url: 'https://observe.app.com', key }) // forward to observe
    ],
});

Metrics (opt-in)

Frogger can also collect metrics — a fully separate pipeline from logging, off by default. Turn it on with metrics: true to auto-collect Web Vitals (LCP/CLS/INP/FCP/TTFB) and a per-batch device/network envelope:

// frogger.config.ts
import { defineFroggerOptions } from '#frogger/config';

export default defineFroggerOptions({
    metrics: true,
});

Metrics are stored raw and aggregated on read, carry an optional trace exemplar linking each measurement to the page's trace, and never touch the logging pipeline. See the Metrics guide for the config reference and cardinality model.

Installation

Automatic Installation

To install and register the latest version of Frogger, navigate to your Nuxt project and run the following command:

pnpm:

pnpm dlx nuxi@latest module add nuxt-frogger

npm:

npx nuxi@latest module add nuxt-frogger

Manual Installation

Does the command above not work? You can install Frogger and register it manually:

pnpm:

pnpm add nuxt-frogger

npm:

npm install nuxt-frogger

Register the Module

Add 'nuxt-frogger' to modules in your nuxt.config.ts file:

export default defineNuxtConfig({
    modules: [
        'nuxt-frogger'
    ]
})

Migrating to 0.2.x (breaking)

  • File logging is no longer on by default. A bare install logs to the console only. Add fileTransport() to transports to restore the previous rotated-file behaviour.
  • The top-level file module option was removed. Move its settings into fileTransport({ ... }). The resolver warns if a legacy file key is still present.
  • public.endpoint now accepts false to disable the browser POST to your app's own ingest route (the server route stays registered) — useful when the client fans out directly to an external sink.
  • Plain { url, apiKey } transport objects still work (an untagged entry is treated as httpTransport(...)), so existing declarative transports need no changes.
  • HttpTransport retry semantics were fixed. Send failures used to be silently swallowed; they now retry (429/5xx/network) with exponential backoff and drop deterministically on a 4xx. If you depended on the old silent-drop behaviour, note that failing destinations will now be retried.