raven-clean
Generate clean raven-js filenames and stack traces by scrubbing cache busting parameters
Install
$ npm install --save raven-clean
Usage
var ravenClean = var Raven = Raven
raven-clean will strip the provided cache busting parameters from your file URLs and stack frames, allowing for consistent exception reporting and aggregation.
API
ravenClean(regex)
-> function(string)
Returns a function that strips the matched parameter from the input string.
regex
Required
Type: regex
A regular expression matching your cache busting parameter, including any punctuation that should be stripped.
License
MIT © Ben Drucker