raven-js-exposed-null
v1.0.6
Published
scan for rendered null
Downloads
6
Readme
Exposed Null Checker
This plugin allows Raven-js to report when and where a null type may have been rendered into the DOM. By default, it looks for occurrences of: "NaN", "undefined", and "[object Object]".
why? Because javascript is perfectly happy to let you do this:
without raising exceptions.
Usage:
npm i raven-js-exposed-null -S
var Raven = require('raven-js') ;
Raven
.config('https://[email protected]/*******')
.install();
var exposedNullCheck = require('raven-js-exposed-null');
exposedNullCheck(Raven);