@dollarshaveclub/rollbar-check-ignore

[![CircleCI](https://circleci.com/gh/dollarshaveclub/rollbar-check-ignore/tree/master.svg?style=svg&circle-token=450c63d3b501a1f4d8cf83802d105b5f755360eb)](https://circleci.com/gh/dollarshaveclub/rollbar-check-ignore/tree/master) [![codecov](https://codec

Stats

StarsIssuesVersionUpdatedCreatedSize
@dollarshaveclub/rollbar-check-ignore
1.40.04 years ago4 years agoMinified + gzip package size for @dollarshaveclub/rollbar-check-ignore in KB

Readme

Rollbar checkIgnore

CircleCI codecov Greenkeeper badge

This implements Rollbar's checkIgnore function. Previous error checking was done with Sentry and was removed.

Implementation

This script can be added via script tags or inline via templates.

Script Tags

standalone.min.js can be added as a script tag, either src-ed or inlined.

<script>
_rollbarConfig = {

}
</script>
<script src="rollbar-check-ignore/dist/standalone.min.js" async></script>
<script>
// rollbar snippet
</script>

As this script is will become more complicated, async loading of the script is supported.

Inline via Templates

An inline function can be used withing templating system to add this script.

<script>
_rollbarConfig = {
  checkIgnore: {{ rollbar-check-ignore/dist/index.min.js }}
}
</script>

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.