Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@exceptionless/angularjs

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exceptionless/angularjs

JavaScript client for Exceptionless

  • 3.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Exceptionless AngularJS

This package provides native JavaScript support for AngularJS applications.

Getting Started

To use this package, your must be using ES6 and support ESM modules.

Installation

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.

CDN

Add the following script tag at the very beginning of your page:

<script type="module" src="https://unpkg.com/@exceptionless/angularjs"></script>

npm

  1. Install the package by running npm install @exceptionless/angularjs --save.
  2. Add the following script tag at the very beginning of your page:
<script type="module" src="node_modules/@exceptionless/angularjs/dist/index.bundle.js"></script>

Configuration

  1. Import exceptionless angular module like this: angular.module("app", ["exceptionless"])
  2. Inject $ExceptionlessClient and call startup during app startup.
angular
  .module("app", ["exceptionless"])
  .config(function ($ExceptionlessClient) {
    await $ExceptionlessClient.startup((c) => {
      c.apiKey = "API_KEY_HERE";

      c.defaultTags.push("Example", "JavaScript", "angularjs");
    });
  });

Once that's done, you can use the Exceptionless client anywhere in your app by importing $ExceptionlessClient followed by the method you want to use. For example:

await $ExceptionlessClient.submitLog("Hello world!");

Please see the docs for more information on configuring the client.

Support

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!

Keywords

FAQs

Package last updated on 29 Mar 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc