- Notifications
You must be signed in to change notification settings - Fork280
v1.0.0
stacktrace.js is reborn
stacktrace.js is now modularized into 5 projects:
- stacktrace-gps - turn partial code location into precise code location
- error-stack-parser - extract meaning from JS Errors
- stack-generator - generate artificial backtrace in old browsers
- stackframe - JS Object representation of a stack frame
... and putting it all together:stacktrace.js for instrumenting your code and generating stack traces!
Key Features
- Fully asynchronous API, usingPromises. Use your own polyfill or useour distribution with polyfills included. See theMigration Guide
- Source Maps support
- Forward-compatible: stacktrace.js no longer assumes a given browser formats Error stacks in a given way. This prevents new browser versions from breaking error parsing
- Stack entries are now fully parsed and returned asStackFrame objects. Prefer the old format? - just call
.toString()! - Use only what you need. All 5 projects work independently as well as together!
- iOS 8+ Safari support
Available everywhere
npm install stacktrace-jsbower install stacktrace-jscomponent install stacktracejs/stacktrace.jshttps://cdnjs.cloudflare.com/ajax/libs/stacktrace.js/1.0.0/stacktrace.min.jsBetter for contributors
- gulp build
- TravisCI + Sauce for testing a bunch of browsers
- EditorConfig for style adherence
Polyfills version necessary for browsers that don't supportPromises orJSON.stringify
Assets6
Uh oh!
There was an error while loading.Please reload this page.