
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
@exceptionless/browser
Advanced tools
This package provides native JavaScript support for applications that are built in vanilla HTML and JS.
To use this package, your must be using ES6 and support ESM modules.
You can install Exceptionless either in your browser application using a script
tag, or you can use the Node Package Manager (npm) to install the package.
Add the following script tag at the very beginning of your page:
<script type="module">
import { Exceptionless } from "https://unpkg.com/@exceptionless/browser";
await Exceptionless.startup((c) => {
c.apiKey = "API_KEY_HERE";
});
</script>
npm install @exceptionless/browser --save
.import { Exceptionless } from "@exceptionless/browser";
await Exceptionless.startup((c) => {
c.apiKey = "API_KEY_HERE";
});
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.
import { Exceptionless } from "@exceptionless/browser";
await Exceptionless.startup((c) => {
c.apiKey = "API_KEY_HERE";
c.setUserIdentity("12345678", "Blake");
c.useSessions();
// set some default data
c.defaultData["mydata"] = {
myGreeting: "Hello World"
};
c.defaultTags.push("Example", "JavaScript", "Browser");
});
Once that's done, you can use the Exceptionless client anywhere in your app by
importing Exceptionless
followed by the method you want to use. For example:
await Exceptionless.submitLog("Hello world!");
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!
FAQs
JavaScript client for Exceptionless
The npm package @exceptionless/browser receives a total of 203 weekly downloads. As such, @exceptionless/browser popularity was classified as not popular.
We found that @exceptionless/browser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.