getsentry/sentry-javascript


Official Sentry SDKs for Javascript

https://sentry.io

License: BSD-3-Clause

Language: JavaScript

Keywords: crash-reporting, error-monitoring, javascript, javascript-client, node, raven, sentry, sentry-client, typescript



Build Status codecov npm version typedoc

Official Sentry SDKs for JavaScript

This is the next line of Sentry JavaScript SDKs, comprised in the @sentry/ namespace. It will provide a more convenient interface and improved consistency between various JavaScript environments.

Links

Contents

Supported Platforms

For each major JavaScript platform, there is a specific high-level SDK that provides all the tools you need in a single package. Please refer to the README and instructions of those SDKs for more detailed information:

  • @sentry/hub: Global state management of SDKs
  • @sentry/minimal: Minimal SDK for library authors to add Sentry support
  • @sentry/browser: SDK for Browsers, including integrations for React, Angular, Ember, Vue and Backbone
  • @sentry/node: SDK for Node, including integrations for Express, Koa, Loopback, Sails and Connect
  • @sentry/integrations: Pluggable integrations that can be used to enhance JS SDKs
  • @sentry/electron: SDK for Electron with support for native crashes
  • sentry-cordova: SDK for Cordova Apps and Ionic with support for native crashes
  • raven-js: Our old stable JavaScript SDK, we still support and release bug fixes for the SDK but all new features will be implemented in @sentry/browser which is the successor.
  • raven: Our old stable Node SDK, same as for raven-js we still support and release bug fixes for the SDK but all new features will be implemented in @sentry/node which is the successor.

Installation and Usage

To install a SDK, simply add the high-level package, for example:

npm install --save @sentry/browser
yarn add @sentry/browser

Setup and usage of these SDKs always follows the same principle.

import { init, captureMessage } from '@sentry/browser';

init({
  dsn: '__DSN__',
  // ...
});

captureMessage('Hello, world!');

Other Packages

Besides the high-level SDKs, this repository contains shared packages, helpers and configuration used for SDK development. If you're thinking about contributing to or creating a JavaScript-based SDK, have a look at the resources below:

  • @sentry/core: The base for all JavaScript SDKs with interfaces, type definitions and base classes.
  • @sentry/utils: A set of helpers and utility functions useful for various SDKs.
  • @sentry/opentracing: OpenTracing compatible integration that can be used as a pluggable integration for the SDKs.
  • @sentry/typescript: Shared Typescript compiler and linter options.
  • @sentry/types: Types used in all packages.

Project Statistics

Sourcerank 18
Repository Size 15.2 MB
Stars 3,983
Forks 746
Watchers 90
Open issues 95
Dependencies 1,895
Contributors 285
Tags 236
Created
Last updated
Last pushed

Top Contributors See all

Matt Robenolt Kamil Ogórek Ben Vinegar Daniel Griesser Lewis J Ellis David Cramer Brandon Konkle Armin Ronacher Burak Yiğit Kaya Max Bittker Peter Baumgartner Alex Zylman Tobias Bieniek Jan Michael Auer Thomas Watson Tobias Otte Enrique Paredes Joe Esposito gabalafou Anton Ovchinnikov

Packages Referencing this Repo

@sentry/integrations
Pluggable integrations that can be used to enchance JS SDKs
Latest release 5.6.1 - Updated - 3.98K stars
@sentry/types
Types for all Sentry JavaScript SDKs
Latest release 5.6.1 - Updated - 3.98K stars
@sentry/typescript
Typescript configuration used at Sentry
Latest release 4.0.1 - Updated - 3.98K stars
@sentry/utils
Utilities for all Sentry JavaScript SDKs
Latest release 5.6.1 - Updated - 3.98K stars
@sentry/node
Offical Sentry SDK for Node.js
Latest release 5.6.2 - Updated - 3.98K stars
@sentry/core
Base implementation for all Sentry JavaScript SDKs
Latest release 5.6.2 - Updated - 3.98K stars
raven-js
JavaScript client for Sentry
Latest release 3.27.0 - Updated - 3.98K stars
raven
A standalone (Node.js) client for Sentry
Latest release 2.6.4 - Updated - 3.98K stars
@sentry/browser
Official Sentry SDK for browsers
Latest release 5.6.3 - Updated - 3.98K stars
raven-mini-program
JavaScript client for Sentry
Latest release 1.0.3 - Updated - 3.98K stars
@sentry/minimal
Sentry minimal library that can be used in other packages
Latest release 5.6.1 - Updated - 3.98K stars
@sentry/hub
Sentry hub which handles global state managment.
Latest release 5.6.1 - Updated - 3.98K stars
@football/raven-js
Raven.js is the official browser JavaScript client for [Sentry](https://sentry.io/).
Latest release 3.8.0 - Published - 3.98K stars
cljsjs/raven
raven-js: JavaScript client for Sentry https://getsentry.com
Latest release 3.14.2-0 - Updated - 3.98K stars
@sentry/opentracing
Sentry OpenTracing SDK
Latest release 5.0.0-rc.3 - Updated - 3.98K stars
ravenjs
Official Sentry SDKs for Javascript
Latest release 5.6.3 - Published - 3.98K stars
org.clojars.nberger.cljsjs/raven
raven-js: JavaScript client for Sentry https://getsentry.com
Latest release 2.1.0-0-SNAPSHOT - Published - 3.98K stars
@sentry/shim
Sentry shim which can be used in libraries
Latest release 0.5.4 - Updated - 3.98K stars
cljsjs/sentry-browser
@sentry/browser: JavaScript client for Sentry https://getsentry.com
Latest release 4.3.0-0 - Published - 3.98K stars
raven-js
Official Sentry SDKs for Javascript
Latest release 5.6.3 - Published - 3.98K stars

Recent Tags See all

5.6.3 August 29, 2019
5.6.2 August 19, 2019
5.6.1 August 08, 2019
5.6.0 August 07, 2019
5.5.0 July 05, 2019
5.4.3 June 21, 2019
5.4.2 June 20, 2019
5.4.2 June 20, 2019
v3.27.2 June 04, 2019
5.4.1 June 01, 2019
5.4.0 May 31, 2019
5.3.1 May 24, 2019
5.3.1 May 24, 2019
5.3.0 May 22, 2019
5.3.0 May 22, 2019

Interesting Forks See all

voxmedia/raven-js
JavaScript client for Sentry
JavaScript - BSD-2-Clause - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2018-12-03 07:10:30 UTC

Login to resync this repository