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

@argusdev/sdk-vue

v0.3.0

Published

Argus SDK for Vue 3 — app-level error handler plugin on top of @argusdev/sdk-browser.

Downloads

53

Readme

@argusdev/sdk-vue

Vue 3 SDK for Argus — an app-level error handler on top of @argusdev/sdk-browser. Catches component errors that window.onerror never sees.

Install

npm install @argusdev/sdk-vue

Usage

import { createApp } from "vue";
import { argusVue } from "@argusdev/sdk-vue";
import App from "./App.vue";

createApp(App)
  .use(argusVue, { dsn: "https://<publicKey>@<host>/<projectId>" })
  .mount("#app");

The plugin does two things: it calls the browser SDK's init() (so you get window.onerror, unhandled rejections, and web vitals for free) and installs app.config.errorHandler.

Manual capture works the same as everywhere else:

import { captureException } from "@argusdev/sdk-vue";

try {
  await save();
} catch (err) {
  captureException(err);
}

Options

Same as @argusdev/sdk-browser:

| Option | Default | What | | ------------- | ---------- | ------------------------------------------------ | | dsn | required | https://KEY@host/PROJECT_ID | | environment | — | e.g. "production" | | release | — | version string, for regression tracking | | vitals | true | page.load transaction with LCP/CLS/FCP/TTFB |

Why a plugin and not just init()

Vue catches errors thrown in render functions, setup(), lifecycle hooks, watchers, and event handlers, then routes them to app.config.errorHandler. They are never re-thrown, so window.onerror stays silent — exactly the reason the React SDK needs an error boundary.

Two tags come along for free:

  • component — the crashing component's name (__name from the SFC filename, or an explicit name)
  • lifecycleHook — Vue's own label for where it blew up: "render function", "setup function", "native event handler", "watcher callback"…

Already have an errorHandler? It's chained, not replaced. If you had none, Vue's console.error is preserved so the error still shows up in devtools.

Already call init() yourself?

Attach just the Vue hook:

import { init, attachVueErrorHandler } from "@argusdev/sdk-vue";

init({ dsn });
const app = createApp(App);
attachVueErrorHandler(app);

Note on errorCaptured

A component-level errorCaptured hook that returns false stops propagation — the error never reaches app.config.errorHandler, so Argus never sees it. Return nothing (or true) if you want it reported.

MIT © Treasure Odetokun