Gathering detailed insights and metrics for @exceptionless/vue
Gathering detailed insights and metrics for @exceptionless/vue
Gathering detailed insights and metrics for @exceptionless/vue
Gathering detailed insights and metrics for @exceptionless/vue
npm install @exceptionless/vue
Typescript
Module System
Node Version
NPM Version
TypeScript (88.57%)
JavaScript (8.07%)
HTML (1.57%)
Svelte (0.73%)
Vue (0.67%)
CSS (0.39%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
60 Stars
708 Commits
22 Forks
8 Watchers
1 Branches
10 Contributors
Updated on Jan 20, 2025
Latest Version
3.1.0
Package Id
@exceptionless/vue@3.1.0
Unpacked Size
815.74 kB
Size
191.60 kB
File Count
12
NPM Version
10.2.4
Node Version
20.11.1
Published on
Mar 29, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
1
The Exceptionless Vue package provides a native way to handle errors and events in Vue. This means errors inside your components, which tend to crash your entire app, can be sent to Exceptionless and you can be alerted. Additionally, you can use this package to catch errors throughout your non-component functions such as in utility functions, etc.
To use this package, your must be using ES6 and support ESM modules.
npm install @exceptionless/vue --save
While your app is starting up, you should call startup
on the Exceptionless
client. This ensures the client is configured and automatic capturing of
unhandled errors occurs. Below is from an example vue applications main.js
file.
1import { createApp } from "vue"; 2import App from "./App.vue"; 3import { Exceptionless, ExceptionlessErrorHandler } from "@exceptionless/vue"; 4 5Exceptionless.startup((c) => { 6 c.apiKey = "API_KEY_HERE"; 7 c.setUserIdentity("12345678", "Blake"); 8 9 c.defaultTags.push("Example", "Vue"); 10}); 11 12const app = createApp(App); 13// Set the global vue error handler. 14app.config.errorHandler = ExceptionlessErrorHandler; 15app.mount("#app");
While errors within the components themselves are automatically sent to Exceptionless, you will still want to handle events that happen outside the components.
Because the Exceptionless client is a singleton, it is available anywhere in
your app where you import it. Here's an example from a file we'll call utilities.js
.
1export const myUtilityFunction = async () => { 2 try { 3 // Handle successful run of code 4 } catch (e) { 5 // If there's an error, send it to Exceptionless 6 await Exceptionless.submitException(e); 7 } 8};
You can also sent events and logs that are not errors by simply calling the built-in methods on the Exceptionless class:
1await Exceptionless.submitLog("Hello, world!");
2await Exceptionless.submitFeatureUsage("New Shopping Cart Feature");
Please see the docs for more information on configuring the client.
If you need help, please contact us via in-app support, open an issue or join our chat on Discord. We’re always here to help if you have any questions!
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 1/24 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
28 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More